Examples of describe()


Examples of org.apache.blur.thrift.generated.Blur.Iface.describe()

    for (String cluster : clusters) {
      List<String> tables = client.tableListByCluster(cluster);
      for (String table : tables) {
        Map<String, Object> tableInfo = new HashMap<String, Object>();
        TableDescriptor descriptor = client.describe(table);

        tableInfo.put("cluster", cluster);
        tableInfo.put("name", table);
        tableInfo.put("enabled", descriptor.isEnabled());
View Full Code Here

Examples of org.apache.blur.thrift.generated.Blur.Iface.describe()

    try {
      List<String> tableList = client.tableList();
      for (String table : tableList) {
        if (table.startsWith(_tableNamePrefix)) {
          LOG.info("Clearing store table [" + table + "]");
          TableDescriptor describe = client.describe(table);
          LOG.info("Disabling table [" + table + "]");
          client.disableTable(table);
          LOG.info("Removing table [" + table + "]");
          client.removeTable(table, true);
          LOG.info("Creating table [" + table + "]");
View Full Code Here

Examples of org.apache.blur.thrift.generated.Blur.Iface.describe()

    final String controllerConnectionStr = cmd.getOptionValue("c");
    final String tableName = cmd.getOptionValue("t");

    final Iface client = controllerPool.getClient(controllerConnectionStr);
    TableDescriptor tableDescriptor = client.describe(tableName);

    Job job = new Job(configuration, "Blur indexer [" + tableName + "]");
    job.setJarByClass(CsvBlurDriver.class);
    job.setMapperClass(CsvBlurMapper.class);
View Full Code Here

Examples of org.apache.blur.thrift.generated.Blur.Iface.describe()

    final String controllerConnectionStr = cmd.getOptionValue("c");
    final String tableName = cmd.getOptionValue("t");

    final Iface client = controllerPool.getClient(controllerConnectionStr);
    TableDescriptor tableDescriptor = client.describe(tableName);

    Job job = Job.getInstance(configuration, "Blur indexer [" + tableName + "]");
    job.setJarByClass(CsvBlurDriver.class);
    job.setMapperClass(CsvBlurMapper.class);
View Full Code Here

Examples of org.apache.commons.beanutils.PropertyUtilsBean.describe()

        // TODO: replace HibernateProxyHelper as its being phased out
        Class noProxyBean =
                HibernateProxyHelper.getClassWithoutInitializingProxy(bean);

        Map<String, Object> propertiesMap = propertyUtilsBean.describe(bean);

        for (String property : propertiesMap.keySet()) {
            // Read annotate in Field or Getter method of property
            try {
                PropertyDescriptor descriptor = propertyUtilsBean
View Full Code Here

Examples of org.formulacompiler.compiler.internal.expressions.ExpressionNode.describe()

            compileMatch( _node, 1 );
          }
          return;
        }
        throw new InnerExpressionException( typeArg, new CompilerException.UnsupportedExpression(
            "The last argument to MATCH, the match type, must be constant, but is " + typeArg.describe() + "." ) );
      }

    }
    throw new CompilerException.UnsupportedExpression( "MATCH must have two or three arguments." );
  }
View Full Code Here

Examples of org.geotools.data.memory.CollectionSource.describe()

            CollectionSource source = currLayer.getSource();
            collection = queryLayer( currLayer, currLayer.getSource() );

            sourceCrs = null;
            lfts = createLiteFeatureTypeStyles(
                    style.featureTypeStyles(), source.describe(), graphics );
            applyUnitRescale(lfts);
           
            if (lfts.isEmpty()) return; // nothing to do

            // finally, perform rendering
View Full Code Here

Examples of org.gradle.launcher.daemon.diagnostics.DaemonStartupInfo.describe()

            } catch (InterruptedException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        } while (System.currentTimeMillis() < expiry);

        throw new DaemonConnectionException("Timeout waiting to connect to the Gradle daemon.\n" + startupInfo.describe());
    }

    private DaemonClientConnection connectToDaemonWithId(DaemonStartupInfo daemon, ExplainingSpec<DaemonContext> constraint) throws ConnectException {
        // Look for 'our' daemon among the busy daemons - a daemon will start in busy state so that nobody else will grab it.
        for (DaemonInfo daemonInfo : daemonRegistry.getBusy()) {
View Full Code Here

Examples of org.graphity.server.model.QueriedResource.describe()

                throw new ConstraintViolationException(cvs, model);
            }
            else // gc:CreateMode
            {
                QueriedResource match = (QueriedResource)getUriInfo().getMatchedResources().get(0);
                throw new ConstraintViolationException(cvs, match.describe().add(model));
            }
        }
       
        return model;
    }
View Full Code Here

Examples of org.gridkit.jvmtool.MBeanHelper.describe()

        try {
          MBeanServerConnection conn = connInfo.getMServer();
          Set<ObjectName> names = resolveSingleBean(conn);
          MBeanHelper helper = new MBeanHelper(conn);
                    for (ObjectName name : names) {
                        System.out.println(helper.describe(name));
                    }
        } catch (Exception e) {
          SJK.fail(e.toString());
        }
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.