Package org.neo4j.gds.core.loading
Class NodesBatchBuffer
- java.lang.Object
-
- org.neo4j.gds.core.loading.RecordsBatchBuffer<NodeReference>
-
- org.neo4j.gds.core.loading.NodesBatchBuffer
-
- All Implemented Interfaces:
StoreScanner.RecordConsumer<NodeReference>
public final class NodesBatchBuffer extends RecordsBatchBuffer<NodeReference>
-
-
Field Summary
-
Fields inherited from class org.neo4j.gds.core.loading.RecordsBatchBuffer
DEFAULT_BUFFER_SIZE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(long nodeId, long propertiesIndex, long[] labels)
boolean
hasLabelInformation()
long[][]
labelIds()
void
offer(NodeReference record)
Imports the record at a given position and return the new position.long[]
properties()
-
-
-
Method Detail
-
offer
public void offer(NodeReference record)
Description copied from interface:StoreScanner.RecordConsumer
Imports the record at a given position and return the new position. Can also ignore the record if it is not of interest.
-
add
public void add(long nodeId, long propertiesIndex, long[] labels)
-
properties
public long[] properties()
-
hasLabelInformation
public boolean hasLabelInformation()
-
labelIds
public long[][] labelIds()
-
-