Package com.foundationdb.server

Examples of com.foundationdb.server.TableStatus


        txnService().run(session(), new Runnable() {
            @Override
            public void run() {
                // Approximate count doesn't have to match in general, but there
                // is no reason for it to be off in these simple scenarios
                TableStatus tableStatus = getTable(tid).rowDef().getTableStatus();
                assertEquals("ApproximateRowCount", ROW_COUNT, tableStatus.getApproximateRowCount(session()));
            }
        });
    }
View Full Code Here


        LOG.debug("Built RowDefs: {}", this);
    }

    private RowDef createRowDefCommon(Table table, MemoryTableFactory factory) {
        final TableStatus status;
        if(factory == null) {
            status = tableStatusCache.createTableStatus(table.getTableId());
        } else {
            status = tableStatusCache.getOrCreateMemoryTableStatus(table.getTableId(), factory);
        }
View Full Code Here

TOP

Related Classes of com.foundationdb.server.TableStatus

Copyright © 2018 www.massapicom. 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.