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 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, org.neo4j.gds.compat.PropertyReference propertyReference, long[] labels)
boolean
hasLabelInformation()
long[][]
labelIds()
boolean
offer(NodeReference record)
Handles the given record and tells the caller, if it can accept more records.org.neo4j.gds.compat.PropertyReference[]
properties()
-
-
-
Method Detail
-
offer
public boolean offer(NodeReference record)
Description copied from interface:StoreScanner.RecordConsumer
Handles the given record and tells the caller, if it can accept more records. Can also ignore the record if it is not of interest.- Parameters:
record
- record- Returns:
- true, iff the consumer can consume more records
-
add
public void add(long nodeId, org.neo4j.gds.compat.PropertyReference propertyReference, long[] labels)
-
properties
public org.neo4j.gds.compat.PropertyReference[] properties()
-
hasLabelInformation
public boolean hasLabelInformation()
-
labelIds
public long[][] labelIds()
-
-