Search in sources :

Example 6 with DynamicArrayStore

use of org.neo4j.kernel.impl.store.DynamicArrayStore in project neo4j by neo4j.

the class TransactionRecordStateTest method assertDynamicLabelRecordInUse.

private static void assertDynamicLabelRecordInUse(NeoStores store, long id, boolean inUse) {
    DynamicArrayStore dynamicLabelStore = store.getNodeStore().getDynamicLabelStore();
    DynamicRecord record = dynamicLabelStore.getRecord(id, dynamicLabelStore.nextRecord(NULL), FORCE, NULL);
    assertEquals(inUse, record.inUse());
}
Also used : DynamicRecord(org.neo4j.kernel.impl.store.record.DynamicRecord) DynamicArrayStore(org.neo4j.kernel.impl.store.DynamicArrayStore)

Aggregations

DynamicArrayStore (org.neo4j.kernel.impl.store.DynamicArrayStore)6 DynamicStringStore (org.neo4j.kernel.impl.store.DynamicStringStore)4 DynamicRecord (org.neo4j.kernel.impl.store.record.DynamicRecord)3 NeoStores (org.neo4j.kernel.impl.store.NeoStores)2 NodeStore (org.neo4j.kernel.impl.store.NodeStore)2 PropertyStore (org.neo4j.kernel.impl.store.PropertyStore)2 RecordCursors (org.neo4j.kernel.impl.store.RecordCursors)2 RelationshipGroupStore (org.neo4j.kernel.impl.store.RelationshipGroupStore)2 RecordCursor (org.neo4j.kernel.impl.store.RecordCursor)1 RelationshipStore (org.neo4j.kernel.impl.store.RelationshipStore)1 PropertyRecord (org.neo4j.kernel.impl.store.record.PropertyRecord)1