Search in sources :

Example 6 with RecordCursors

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

the class StoreIteratorRelationshipCursorTest method createRelationshipCursor.

private StoreIteratorRelationshipCursor createRelationshipCursor(RelationshipRecord relationshipRecord, RelationshipStore relationshipStore) {
    RecordCursors recordCursors = newRecordCursorsWithMockedNeoStores(relationshipStore);
    InstanceCache<StoreIteratorRelationshipCursor> instanceCache = new TestCursorCache();
    return new StoreIteratorRelationshipCursor(relationshipRecord, instanceCache, recordCursors, LockService.NO_LOCK_SERVICE);
}
Also used : RecordCursors(org.neo4j.kernel.impl.store.RecordCursors)

Aggregations

RecordCursors (org.neo4j.kernel.impl.store.RecordCursors)6 BufferedOutputStream (java.io.BufferedOutputStream)2 BufferedReader (java.io.BufferedReader)2 File (java.io.File)2 FileOutputStream (java.io.FileOutputStream)2 IOException (java.io.IOException)2 OutputStream (java.io.OutputStream)2 Writer (java.io.Writer)2 StandardCharsets (java.nio.charset.StandardCharsets)2 NoSuchFileException (java.nio.file.NoSuchFileException)2 StandardCopyOption (java.nio.file.StandardCopyOption)2 StandardOpenOption (java.nio.file.StandardOpenOption)2 ArrayList (java.util.ArrayList)2 Arrays (java.util.Arrays)2 Arrays.asList (java.util.Arrays.asList)2 Collection (java.util.Collection)2 List (java.util.List)2 Optional (java.util.Optional)2 BiConsumer (java.util.function.BiConsumer)2 Predicate (java.util.function.Predicate)2