Package com.foundationdb.server.test.it.keyupdate

Examples of com.foundationdb.server.test.it.keyupdate.CollectingIndexKeyVisitor


    protected void traversePK(int rowDefId, List<?>... expectedIndexes) throws Exception {
        Index pkIndex = getRowDef(rowDefId).getPKIndex();

        try(CloseableTransaction txn = txnService().beginCloseableTransaction(session())) {
            CollectingIndexKeyVisitor visitor = new CollectingIndexKeyVisitor();
            store().traverse(session(), pkIndex, visitor, -1, 0);
            assertEquals("traversed indexes", Arrays.asList(expectedIndexes), visitor.records());
            txn.commit();
        }
    }
View Full Code Here

TOP

Related Classes of com.foundationdb.server.test.it.keyupdate.CollectingIndexKeyVisitor

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.