Interface RelationDataSource
public interface RelationDataSource
Data source providing an edge stream for a relation matrix.
-
Method Summary
Modifier and TypeMethodDescriptionlongTotal exact number of directed edges in this relation.getEdges()Primary edge stream, strictly sorted by Source ID (mandatory for building the CSR topology).default Optional<EdgeChunkIterator> Optional secondary edge stream, strictly sorted by Target ID (for building the CSC topology).
-
Method Details
-
getEdgeCount
long getEdgeCount()Total exact number of directed edges in this relation. -
getEdges
EdgeChunkIterator getEdges()Primary edge stream, strictly sorted by Source ID (mandatory for building the CSR topology). -
getTargetSortedEdges
Optional secondary edge stream, strictly sorted by Target ID (for building the CSC topology). If empty and CSC is requested, the builder will use the staging directory to external-sort the primary stream.
-