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.boolean
supportsProperties()
-
-
-
Method Detail
-
createCompressor
AdjacencyCompressor createCompressor()
- Returns:
- a copy of this blueprint that can be used concurrently with other copies to compress data.
-
supportsProperties
boolean supportsProperties()
- Returns:
- true iff this compressor can deal with properties.
-
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.
-
-