Interface AdjListPropertyChunkInfoReader
-
- All Superinterfaces:
com.alibaba.fastffi.CXXPointer
,com.alibaba.fastffi.FFIPointer
,com.alibaba.fastffi.FFIType
public interface AdjListPropertyChunkInfoReader extends com.alibaba.fastffi.CXXPointer
The chunk info reader for edge property group chunk.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
AdjListPropertyChunkInfoReader.Factory
-
Field Summary
Fields Modifier and Type Field Description static AdjListPropertyChunkInfoReader.Factory
factory
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Result<StdString>
getChunk()
Return the current chunk file path of chunk position indicator.Status
nextChunk()
Sets chunk position indicator to next chunk.Status
seek(@com.alibaba.fastffi.FFINameAlias("graphar::IdType") long index)
Sets chunk position indicator for reader by edge index.Status
seekDst(@com.alibaba.fastffi.FFINameAlias("graphar::IdType") long id)
Sets chunk position indicator for reader by destination vertex id.Status
seekSrc(@com.alibaba.fastffi.FFINameAlias("graphar::IdType") long id)
Sets chunk position indicator for reader by source vertex id.
-
-
-
Field Detail
-
factory
static final AdjListPropertyChunkInfoReader.Factory factory
-
-
Method Detail
-
seekSrc
Status seekSrc(@com.alibaba.fastffi.FFINameAlias("graphar::IdType") long id)
Sets chunk position indicator for reader by source vertex id.- Parameters:
id
- the source vertex id.
-
seekDst
Status seekDst(@com.alibaba.fastffi.FFINameAlias("graphar::IdType") long id)
Sets chunk position indicator for reader by destination vertex id.- Parameters:
id
- the destination vertex id.
-
seek
Status seek(@com.alibaba.fastffi.FFINameAlias("graphar::IdType") long index)
Sets chunk position indicator for reader by edge index.- Parameters:
index
- offset edge index of the vertex chunk. Note: the offset is the edge index of the vertex chunk, not the edge index of the whole graph.
-
getChunk
Result<StdString> getChunk()
Return the current chunk file path of chunk position indicator.
-
nextChunk
Status nextChunk()
Sets chunk position indicator to next chunk. if current chunk is the last chunk, will return Status::IndexError error.
-
-