internal BatchRelationshipIterable(RecordStorageReader storageReader, long nodeId)
        {
            _relationshipCursor = storageReader.AllocateRelationshipTraversalCursor();
            RecordNodeCursor nodeCursor = storageReader.AllocateNodeCursor();

            nodeCursor.Single(nodeId);
            if (!nodeCursor.Next())
            {
                throw new NotFoundException("Node " + nodeId + " not found");
            }
            _relationshipCursor.init(nodeId, nodeCursor.AllRelationshipsReference());
        }
Example #2
0
 internal RelationshipRecordChunk(RecordStorageReader storageReader, bool requiresPropertyMigration) : base(storageReader.AllocateRelationshipScanCursor(), storageReader, requiresPropertyMigration)
 {
 }
Example #3
0
 internal NodeRecordChunk(RecordStorageReader storageReader, bool requiresPropertyMigration) : base(storageReader.AllocateNodeCursor(), storageReader, requiresPropertyMigration)
 {
 }