Package org.neo4j.gds.core.loading
Class ThreadLocalSingleTypeRelationshipImporter
- java.lang.Object
-
- org.neo4j.gds.core.loading.ThreadLocalSingleTypeRelationshipImporter
-
public abstract class ThreadLocalSingleTypeRelationshipImporter extends java.lang.ObjectWraps 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 RelationshipsBatchBufferbuffer()abstract longimportRelationships()protected intimportRelationships(RelationshipsBatchBuffer sourceBuffer, long[] batch, long[][] properties, AdjacencyBuffer targetBuffer)protected RelationshipsBatchBuffersourceBuffer()protected AdjacencyBuffertargetBuffer()
-
-
-
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)
-
-