Package org.neo4j.gds.core.loading
Class ThreadLocalSingleTypeRelationshipImporter<PROPERTY_REF>
- java.lang.Object
-
- org.neo4j.gds.core.loading.ThreadLocalSingleTypeRelationshipImporter<PROPERTY_REF>
-
public abstract class ThreadLocalSingleTypeRelationshipImporter<PROPERTY_REF> extends java.lang.Object
Wraps a relationship buffer that is being filled by the store scanners. Prepares the content of the relationship buffer for consumption by theAdjacencyBuffer
. Each importing thread holds an instance of this class for each relationship type that is being imported.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description RelationshipsBatchBuffer<PROPERTY_REF>
buffer()
abstract long
importRelationships()
protected int
importRelationships(RelationshipsBatchBuffer<PROPERTY_REF> sourceBuffer, long[] batch, long[][] properties, AdjacencyBuffer targetBuffer)
protected RelationshipsBatchBuffer<PROPERTY_REF>
sourceBuffer()
protected AdjacencyBuffer
targetBuffer()
-
-
-
Method Detail
-
importRelationships
public abstract long importRelationships()
-
buffer
public RelationshipsBatchBuffer<PROPERTY_REF> buffer()
-
sourceBuffer
protected RelationshipsBatchBuffer<PROPERTY_REF> sourceBuffer()
-
targetBuffer
protected AdjacencyBuffer targetBuffer()
-
importRelationships
protected int importRelationships(RelationshipsBatchBuffer<PROPERTY_REF> sourceBuffer, long[] batch, long[][] properties, AdjacencyBuffer targetBuffer)
-
-