Package org.neo4j.graphalgo.core.loading
Class NodesBatchBuffer
- java.lang.Object
-
- org.neo4j.graphalgo.core.loading.NodesBatchBuffer
-
- All Implemented Interfaces:
StoreScanner.RecordConsumer<NodeReference>
public final class NodesBatchBuffer extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(long nodeId, long propertiesIndex, long[] labels)
boolean
isFull()
void
offer(NodeReference record)
Imports the record at a given position and return the new position.void
reset()
-
-
-
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)
-
isFull
public boolean isFull()
-
reset
public void reset()
-
-