Package org.neo4j.gds.api.compress
Interface AdjacencyCompressorFactory
-
- All Known Implementing Classes:
AbstractAdjacencyCompressorFactory
public interface AdjacencyCompressorFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AdjacencyListsWithProperties
build(boolean allowReordering)
AdjacencyCompressor
createCompressor()
void
init()
Prepares the compressor for flushing, for example by initializing data structures as they are needed.void
init(org.neo4j.gds.collections.ha.HugeIntArray degrees, org.neo4j.gds.collections.ha.HugeLongArray adjacencyOffsets, org.neo4j.gds.collections.ha.HugeLongArray propertyOffsets)
java.util.concurrent.atomic.LongAdder
relationshipCounter()
-
-
-
Method Detail
-
init
void init()
Prepares the compressor for flushing, for example by initializing data structures as they are needed.
-
init
void init(org.neo4j.gds.collections.ha.HugeIntArray degrees, org.neo4j.gds.collections.ha.HugeLongArray adjacencyOffsets, org.neo4j.gds.collections.ha.HugeLongArray propertyOffsets)
-
createCompressor
AdjacencyCompressor createCompressor()
- Returns:
- a copy of this blueprint that can be used concurrently with other copies to compress data.
-
relationshipCounter
java.util.concurrent.atomic.LongAdder relationshipCounter()
-
build
AdjacencyListsWithProperties build(boolean allowReordering)
- Returns:
- the final adjacency list, together with any number of properties, if any.
-
-