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()); }
internal RelationshipRecordChunk(RecordStorageReader storageReader, bool requiresPropertyMigration) : base(storageReader.AllocateRelationshipScanCursor(), storageReader, requiresPropertyMigration) { }
internal NodeRecordChunk(RecordStorageReader storageReader, bool requiresPropertyMigration) : base(storageReader.AllocateNodeCursor(), storageReader, requiresPropertyMigration) { }