Package org.neo4j.gds.core.loading
Interface StoreScanner.RecordConsumer<Reference>
-
- All Known Implementing Classes:
CompositeRelationshipsBatchBuffer
,NodesBatchBuffer
,RecordsBatchBuffer
,RelationshipsBatchBuffer
- Enclosing interface:
- StoreScanner<Reference>
public static interface StoreScanner.RecordConsumer<Reference>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
offer(Reference reference)
Handles the given record and tells the caller, if it can accept more records.default void
reset()
Resets the internal state of the consumer so that a new batch of records can be consumed.
-
-
-
Method Detail
-
offer
boolean offer(Reference reference)
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:
reference
- record- Returns:
- true, iff the consumer can consume more records
-
reset
default void reset()
Resets the internal state of the consumer so that a new batch of records can be consumed.
-
-