Examples of Table


Examples of org.hbaseexplorer.domain.Table

        this.getModel().setSelectedIndex(index);
    }

    public int tableExists(Table table) {
        for (int i=0; i<tables.size(); i++) {
            Table t = tables.get(i);
            if (t.getFullName().equals(table.getFullName())) {
                return i;
            }
        }
        return -1;
    }
View Full Code Here

Examples of org.hibernate.mapping.Table

    }

    Iterator<Map.Entry<Table,List<UniqueConstraintHolder>>> tables = uniqueConstraintHoldersByTable.entrySet().iterator();
    while ( tables.hasNext() ) {
      final Map.Entry<Table,List<UniqueConstraintHolder>> entry = tables.next();
      final Table table = entry.getKey();
      final List<UniqueConstraintHolder> uniqueConstraints = entry.getValue();
      int uniqueIndexPerTable = 0;
      for ( UniqueConstraintHolder holder : uniqueConstraints ) {
        uniqueIndexPerTable++;
        final String keyName = StringHelper.isEmpty( holder.getName() )
View Full Code Here

Examples of org.hibernate.metamodel.relational.Table

    final String tableName = attributeSource.getExplicitCollectionTableName();
    if ( StringHelper.isNotEmpty( tableName ) ) {
      final Identifier tableIdentifier = Identifier.toIdentifier(
          currentBindingContext.getNamingStrategy().tableName( tableName )
      );
      Table collectionTable = schema.locateTable( tableIdentifier );
      if ( collectionTable == null ) {
        collectionTable = schema.createTable( tableIdentifier );
      }
      pluralAttributeBinding.setCollectionTable( collectionTable );
    }
View Full Code Here

Examples of org.hsqldb.Table

    protected final void cacheClear(Session session) {

        int i = sysTables.length;

        while (i-- > 0) {
            Table t = sysTables[i];

            if (t != null) {
                t.clearAllData(session);
            }
        }
    }
View Full Code Here

Examples of org.hsqldb_voltpatches.Table

            Iterator tables =
                database.schemaManager.databaseObjectIterator(schema,
                    SchemaObject.TABLE);

            while (tables.hasNext()) {
                Table t = (Table) tables.next();

                // write all memory table data
                // write cached table data unless index roots have been written
                // write all text table data apart from readonly text tables
                // unless index roots have been written
                boolean script = false;

                switch (t.getTableType()) {

                    case TableBase.MEMORY_TABLE :
                        script = true;
                        break;

                    case TableBase.CACHED_TABLE :
                        script = includeCachedData;
                        break;

                    case TableBase.TEXT_TABLE :
                        script = includeCachedData && !t.isReadOnly();
                        break;
                }

                try {
                    if (script) {
                        schemaToLog = t.getName().schema;

                        writeTableInit(t);

                        RowIterator it = t.rowIterator(currentSession);

                        while (it.hasNext()) {
                            writeRow(currentSession, t,
                                     it.getNextRow().getData());
                        }
View Full Code Here

Examples of org.iq80.leveldb.table.Table

        cache = CacheBuilder.newBuilder()
                .maximumSize(tableCacheSize)
                .removalListener(new RemovalListener<Long, TableAndFile>() {
                    public void onRemoval(RemovalNotification<Long, TableAndFile> notification) {
                        Table table = notification.getValue().getTable();
                        finalizer.addCleanup(table, table.closer());
                    }
                })
                .build(new CacheLoader<Long, TableAndFile>() {
                    public TableAndFile load(Long fileNumber)
                            throws IOException {
View Full Code Here

Examples of org.jab.docsearch.utils.Table

            String tempIsWeb = "";
            String tempReplace = "";
            String tempMatch = "";
            String tempDateStr = "";
            if (testIndex.exists()) {
                Table tempTable = new Table(12, 100);
                tempTable.htmlLoad(indexFile, "");
                int numI = tempTable.colSize();
                // parse it
                for (int i = 0; i < numI; i++) {
                    //
                    try {
                        tempDesc = tempTable.inItem(0, i);
                        tempFileString = tempTable.inItem(1, i);
                        tempSbd = Integer.parseInt(tempTable.inItem(2, i));
                        tempIndexerPath = tempTable.inItem(4, i);
                        // isWeb content
                        tempIsWeb = tempTable.inItem(5, i);
                        tempWebBool = false;
                        tempReplace = "";
                        tempMatch = "";
                        tempDateStr = "";
                        if (tempIsWeb != null) {
                            if (tempIsWeb.equals("true")) {
                                tempWebBool = true;
                                tempMatch = tempTable.inItem(6, i);
                                tempReplace = tempTable.inItem(7, i);
                            }
                        }
                        tempDateStr = tempTable.inItem(8, i);
                        updateStr = tempTable.inItem(9, i);
                        if (updateStr == null)
                            updatePolicy = 0;
                        else
                            updatePolicy = Integer.parseInt(updateStr);
                        if (tempDateStr == null) {
                            tempDateStr = DateTimeUtils.getToday();
                        }
                        if (tempSbd == 1) {
                            tempBool = false;
                        }
                        else {
                            tempBool = true;
                        }
                        tempDepth = Integer.parseInt(tempTable.inItem(3, i));
                        tempFile = new File(tempFileString);
                        if ((tempFile.exists()) || (tempFileString.startsWith("http"))) {
                            curI = new DocSearcherIndex(tempFileString, tempDesc, tempBool, tempDepth, tempIndexerPath, tempWebBool, tempMatch, tempReplace, tempDateStr, updatePolicy);
                            indexes.add(curI);
                            setStatus("Index " + curI.desc + " is " + curI.getDaysOld() + " days old (" + curI.lastIndexed + ")");
View Full Code Here

Examples of org.jacoco.report.html.table.Table

    }
    return table;
  }

  private Table createTable() {
    final Table table = new Table();
    table.add("Element", null, new LabelColumn(), false);
    table.add("Missed Instructions", null, new BarColumn(INSTRUCTION,
        locale), true);
    table.add("Cov.", Styles.CTR2,
        new PercentageColumn(INSTRUCTION, locale), false);
    addMissedTotalColumns(table, "Classes", CLASS);
    addMissedTotalColumns(table, "Methods", METHOD);
    addMissedTotalColumns(table, "Blocks", BLOCK);
    addMissedTotalColumns(table, "Lines", LINE);
View Full Code Here

Examples of org.jacoco.report.internal.html.table.Table

    }
    return table;
  }

  private Table createTable() {
    final Table table = new Table();
    table.add("Element", null, new LabelColumn(), false);
    table.add("Missed Instructions", Styles.BAR, new BarColumn(INSTRUCTION,
        locale), true);
    table.add("Cov.", Styles.CTR2,
        new PercentageColumn(INSTRUCTION, locale), false);
    table.add("Missed Branches", Styles.BAR, new BarColumn(BRANCH, locale),
        false);
    table.add("Cov.", Styles.CTR2, new PercentageColumn(BRANCH, locale),
        false);
    addMissedTotalColumns(table, "Lines", LINE);
    addMissedTotalColumns(table, "Methods", METHOD);
    addMissedTotalColumns(table, "Classes", CLASS);
    return table;
View Full Code Here

Examples of org.jboss.arquillian.persistence.data.dbunit.dataset.Table

   private List<Table> createTables(Map<String, List<Map<String, String>>> jsonStructure)
   {
      List<Table> tables = new ArrayList<Table>();
      for (Map.Entry<String, List<Map<String, String>>> entry : jsonStructure.entrySet())
      {
         Table table = new Table(entry.getKey());
         table.addColumns(extractColumns(entry.getValue()));
         table.addRows(extractRows(entry.getValue()));
         tables.add(table);
      }
      return tables;
   }
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.