Interface VertexPropertyChunkInfoReader

  • All Superinterfaces:
    com.alibaba.fastffi.CXXPointer, com.alibaba.fastffi.FFIPointer, com.alibaba.fastffi.FFIType

    public interface VertexPropertyChunkInfoReader
    extends com.alibaba.fastffi.CXXPointer
    The chunk info reader for vertex property group.
    • 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.
      @com.alibaba.fastffi.FFINameAlias("GetChunkNum") long getChunkNum()
      Get the chunk number of the current vertex property group.
      Status nextChunk()
      Sets chunk position indicator to next chunk.
      Status seek​(@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long id)
      Sets chunk position indicator for reader by internal vertex id.
      • Methods inherited from interface com.alibaba.fastffi.CXXPointer

        delete
      • Methods inherited from interface com.alibaba.fastffi.FFIPointer

        getAddress
    • Method Detail

      • seek

        Status seek​(@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long id)
        Sets chunk position indicator for reader by internal vertex id. If internal vertex id is not found, will return Status::IndexError error. After seeking to an invalid vertex id, the next call to GetChunk function may undefined, e.g. return a non exist path.
        Parameters:
        id - the internal vertex id.
      • 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.
      • getChunkNum

        @com.alibaba.fastffi.FFINameAlias("GetChunkNum") long getChunkNum()
        Get the chunk number of the current vertex property group.