Package org.neo4j.gds.core.compress
Interface AdjacencyCompressorBlueprint
-
public interface AdjacencyCompressorBlueprint
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AdjacencyListsWithProperties
build()
AdjacencyCompressor
createCompressor()
void
flush()
Implementors may choose to buffer some internal data and only write it intermittently to its final location.void
prepareFlushTasks()
Prepares the compressor for flushing, for example by initializing data structures as they are needed.
-
-
-
Method Detail
-
prepareFlushTasks
void prepareFlushTasks()
Prepares the compressor for flushing, for example by initializing data structures as they are needed.
-
createCompressor
AdjacencyCompressor createCompressor()
- Returns:
- a copy of this blueprint that can be used concurrently with other copies to compress data.
-
flush
void flush()
Implementors may choose to buffer some internal data and only write it intermittently to its final location. This method is called at the end to ensure that all possible in-flight data can be cleaned up. This method might be called multiple times and any other method may be called after a flush. To release internal data for good, seeAdjacencyCompressor.close()
.
-
build
AdjacencyListsWithProperties build()
- Returns:
- the final adjacency list, together with any number of properties, if any.
-
-