Examples of table()


Examples of com.foundationdb.server.rowdata.RowDef.table()

    public void removeStatistics(Session session, Index index) {
        RowDef indexRowDef = index.leafMostTable().rowDef();
        RowDef indexStatisticsRowDef = getIndexStatsRowDef(session);

        Key hKey = getStore().createKey();
        hKey.append(indexStatisticsRowDef.table().getOrdinal())
                .append((long) indexRowDef.getRowDefId())
                .append((long) index.getIndexId());

        FDBStoreData storeData = getStore().createStoreData(session, indexStatisticsRowDef.getGroup());
        hKey.copyTo(storeData.persistitKey);
View Full Code Here

Examples of com.github.springtestdbunit.annotation.ExpectedDatabase.table()

    }
    IDatabaseConnection connection = testContext.getConnection();
    for (int i = annotations.size() - 1; i >= 0; i--) {
      ExpectedDatabase annotation = annotations.get(i);
      String query = annotation.query();
      String table = annotation.table();
      IDataSet expectedDataSet = loadDataset(testContext, annotation.value());
      if (expectedDataSet != null) {
        if (logger.isDebugEnabled()) {
          logger.debug("Veriftying @DatabaseTest expectation using " + annotation.value());
        }
View Full Code Here

Examples of com.github.zhongl.hs4j.kit.annotations.Repository.table()

  private void scanAndMapMethodToInvacationHandlerWith(Class<?> clazz) {
    final Repository repository = clazz.getAnnotation(Repository.class);
    if (repository == null)
      throw new IllegalArgumentException(Repository.class + " should be annotated to class: " + clazz);
    final String database = repository.database();
    final String table = repository.table();
    Method[] methods = clazz.getMethods();
    for (Method method : methods) {
      InvocationHandler handler = createInvocationHandlerWith(method, database, table);
      if ((handler == null)) continue; // no need to map, so skip.
      invocationMap.put(method, handler);
View Full Code Here

Examples of com.mysql.clusterj.DynamicObject.table()

        DynamicObject dynamicObject;
        PersistenceCapable persistenceCapable = cls.getAnnotation(PersistenceCapable.class);
        String tableName = null;
        try {
            dynamicObject = cls.newInstance();
            tableName = dynamicObject.table();
            if (tableName == null  && persistenceCapable != null) {
                tableName = persistenceCapable.table();
            }
        } catch (InstantiationException e) {
            throw new ClusterJUserException(local.message("ERR_Dynamic_Object_Instantiation", cls.getName()), e);
View Full Code Here

Examples of com.mysql.clusterj.annotation.PersistenceCapable.table()

        String tableName = null;
        try {
            dynamicObject = cls.newInstance();
            tableName = dynamicObject.table();
            if (tableName == null  && persistenceCapable != null) {
                tableName = persistenceCapable.table();
            }
        } catch (InstantiationException e) {
            throw new ClusterJUserException(local.message("ERR_Dynamic_Object_Instantiation", cls.getName()), e);
        } catch (IllegalAccessException e) {
            throw new ClusterJUserException(local.message("ERR_Dynamic_Object_Illegal_Access", cls.getName()), e);
View Full Code Here

Examples of com.ngdata.hbaseindexer.conf.IndexerConfBuilder.table()

            if (repoParam.equals("default")) {
                tableName = tableParam;
            } else {
                tableName = repoParam.concat("__").concat(tableParam);
            }
            builder.table(tableName);

            // TODO: Do any of these need to be configurable given the Lily context?
            builder.mappingType(null);
            builder.rowReadMode(null);
            builder.uniqueyKeyField("lily.key");
View Full Code Here

Examples of com.skyline.energy.annotation.ShardBy.table()

  }
 
  protected void parseShardBy(Method method, Map<String, Integer> paramIndexes, Class<?>[] paramTypes) throws DaoGenerateException {
    ShardBy shardBy = method.getAnnotation(ShardBy.class);
    if(shardBy != null) {
      shardTable = shardBy.table();
      shardParamName = StringUtils.trimToEmpty(shardBy.param());
     
      int pos = shardParamName.indexOf('.');
      if (pos != -1) {
        String actualName = shardParamName.substring(0, pos);
View Full Code Here

Examples of com.sun.tools.doclets.formats.html.HtmlDocletWriter.table()

    for (ClassDoc clz : classes) {
      if (isExportable(clz) && hasMethods(clz) && ! isExportedClosure(clz.methods()[0])) {
        String className = getExportedName(clz, false);
        writer.h2("<div id=" + className + ">"+ getExportedPackage(clz) + "." + className + "</div>");
        writer.println("<div class=jsdocText>" + filter(clz.commentText()) + "</div>");
        writer.table(1, "100%", 0, 0);

        boolean firstcon = true;
        for (ConstructorDoc cd : clz.constructors()) {
          if (isExportable(cd)) {
            if (firstcon) {
View Full Code Here

Examples of fit.decorator.util.Table.table()

  private int numberOfTimes;

  protected void run(Fixture fixture, Parse table) {
    Table t = new Table(table);
    t.copyAndAppendLastRow(numberOfTimes);
    super.run(fixture, t.table());
  }

  protected void setupDecorator(String[] arguments) throws InvalidInputException {
    if (arguments.length != 1) {
      throw new InvalidInputException("Count for number of times to add the last row must be specified");
View Full Code Here

Examples of gherkin.formatter.PrettyFormatter.table()

            String codeKeywords = join(map(map(codeKeywordList, CODE_KEYWORD_MAPPER), QUOTE_MAPPER), ", ");

            List<String> cells = Arrays.asList(key + " (code)", codeKeywords);
            table.add(new DataTableRow(Collections.<Comment>emptyList(), cells, -1));
        }
        pf.table(table);
        return writer.getBuffer().toString();
    }

    private Locale localeFor(String isoString) {
        String[] languageAndCountry = isoString.split("-");
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.