Package org.apache.graphar.edges
Interface EdgeIter.Factory
-
- Enclosing interface:
- EdgeIter
public static interface EdgeIter.Factory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EdgeItercreate(EdgeIter other)Copy constructor.EdgeItercreate(StdSharedPtr<EdgeInfo> edgeInfo, StdString prefix, AdjListType adjListType, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long globalChunkIndex, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long offset, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkEnd, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkBegin, StdSharedPtr<IndexConverter> indexConverter)Initialize the iterator.
-
-
-
Method Detail
-
create
EdgeIter create(StdSharedPtr<EdgeInfo> edgeInfo, StdString prefix, AdjListType adjListType, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long globalChunkIndex, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long offset, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkEnd, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkBegin, StdSharedPtr<IndexConverter> indexConverter)
Initialize the iterator.- Parameters:
edgeInfo- The edge info that describes the edge type.prefix- The absolute prefix.adjListType- The type of adjList.globalChunkIndex- The global index of the current edge chunk.offset- The current offset in the current edge chunk.chunkBegin- The index of the first chunk.chunkEnd- The index of the last chunk.indexConverter- The converter for transforming the edge chunk indices.
-
-