Package org.neo4j.gds.core.loading
Class ThreadLocalSingleTypeRelationshipImporter
- java.lang.Object
-
- org.neo4j.gds.core.loading.ThreadLocalSingleTypeRelationshipImporter
-
public abstract class ThreadLocalSingleTypeRelationshipImporter 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
buffer()
abstract long
importRelationships()
protected int
importRelationships(RelationshipsBatchBuffer sourceBuffer, long[] batch, long[][] properties, AdjacencyBuffer targetBuffer)
protected RelationshipsBatchBuffer
sourceBuffer()
protected AdjacencyBuffer
targetBuffer()
-
-
-
Method Detail
-
importRelationships
public abstract long importRelationships()
-
buffer
public RelationshipsBatchBuffer buffer()
-
sourceBuffer
protected RelationshipsBatchBuffer sourceBuffer()
-
targetBuffer
protected AdjacencyBuffer targetBuffer()
-
importRelationships
protected int importRelationships(RelationshipsBatchBuffer sourceBuffer, long[] batch, long[][] properties, AdjacencyBuffer targetBuffer)
-
-