Interface EdgeChunkWriter

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

    public interface EdgeChunkWriter
    extends com.alibaba.fastffi.CXXPointer
    The writer for edge (adj list, offset and property group) chunks.

    Notes: For each writing operation, a validate_level could be set, which will be used to validate the data before writing. The validate_level could be:

    ValidateLevel::default_validate: to use the validate_level of the writer, which set through the constructor or the SetValidateLevel method;

    ValidateLevel::no_validate: without validation;

    ValidateLevel::weak_validate: to validate if the vertex/edge count or vertex/edge chunk index is non-negative, the adj_list type is valid, the property group exists and the size of input_table is not larger than the chunk size;

    ValidateLevel::strong_validate: besides weak_validate, also validate the schema of input_table is consistent with that of property group; for writing operations without input_table, such as writing vertices/edges number or copying file, the strong_validate is same as weak_validate.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static interface  EdgeChunkWriter.Factory  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ValidateLevel getValidateLevel()
      Get the validate level.
      void setValidateLevel​(ValidateLevel validateLevel)
      Set the validate level.
      Status sortAndWriteAdjListTable​(StdSharedPtr<ArrowTable> inputTable, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex)
      Sort the edges, and write the adj list chunks for the edges of a vertex chunk.
      Status sortAndWriteAdjListTable​(StdSharedPtr<ArrowTable> inputTable, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex, ValidateLevel validateLevel)
      Sort the edges, and write the adj list chunks for the edges of a vertex chunk.
      Status sortAndWritePropertyTable​(StdSharedPtr<ArrowTable> inputTable, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex, ValidateLevel validateLevel)
      Sort the edges, and write chunks of all property groups for the edges of a vertex chunk.
      Status sortAndWritePropertyTable​(StdSharedPtr<ArrowTable> inputTable, StdSharedPtr<PropertyGroup> propertyGroup, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex, ValidateLevel validateLevel)
      Sort the edges, and write chunks of a single property group for the edges of a vertex chunk.
      Status sortAndWriteTable​(StdSharedPtr<ArrowTable> inputTable, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex)
      Sort the edges, and write chunks of the adj list and all property groups for the edges of a vertex chunk.
      Status sortAndWriteTable​(StdSharedPtr<ArrowTable> inputTable, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex, ValidateLevel validateLevel)
      Sort the edges, and write chunks of the adj list and all property groups for the edges of a vertex chunk.
      Status writeAdjListChunk​(StdSharedPtr<ArrowTable> inputTable, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkIndex, ValidateLevel validateLevel)
      Validate and write the adj list chunk for an edge chunk.
      Status writeAdjListChunk​(StdString fileName, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkIndex, ValidateLevel validateLevel)
      Copy a file as an adj list chunk.
      Status writeAdjListTable​(StdSharedPtr<ArrowTable> inputTable, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex, ValidateLevel validateLevel)
      Write the adj list chunks for the edges of a vertex chunk.
      Status writeChunk​(StdSharedPtr<ArrowTable> inputTable, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkIndex, ValidateLevel validateLevel)
      Write the adj list and all property groups for an edge chunk.
      Status writeEdgesNum​(@com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, @com.alibaba.fastffi.CXXReference,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long count, ValidateLevel validateLevel)
      Write the number of edges into the file.
      Status writeOffsetChunk​(StdSharedPtr<ArrowTable> inputTable, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, ValidateLevel validateLevel)
      Validate and write the offset chunk for a vertex chunk.
      Status writeOffsetChunk​(StdString fileName, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, ValidateLevel validateLevel)
      Copy a file as a offset chunk.
      Status writePropertyChunk​(StdSharedPtr<ArrowTable> inputTable, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkIndex, ValidateLevel validateLevel)
      Write all edge property groups for an edge chunk.
      Status writePropertyChunk​(StdSharedPtr<ArrowTable> inputTable, StdSharedPtr<PropertyGroup> propertyGroup, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkIndex, ValidateLevel validateLevel)
      Validate and write a single edge property group for an edge chunk.
      Status writePropertyChunk​(StdString fileName, StdSharedPtr<PropertyGroup> propertyGroup, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkIndex, ValidateLevel validateLevel)
      Copy a file as an edge property group chunk.
      Status writePropertyTable​(StdSharedPtr<ArrowTable> inputTable, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex, ValidateLevel validateLevel)
      Write chunks of all property groups for the edges of a vertex chunk.
      Status writePropertyTable​(StdSharedPtr<ArrowTable> inputTable, StdSharedPtr<PropertyGroup> propertyGroup, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex, ValidateLevel validateLevel)
      Write chunks of a single property group for the edges of a vertex chunk.
      Status writeTable​(StdSharedPtr<ArrowTable> inputTable, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex, ValidateLevel validateLevel)
      Write chunks of the adj list and all property groups for the edges of a vertex chunk.
      Status writeVerticesNum​(@com.alibaba.fastffi.CXXReference,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long count)
      Write the number of vertices into the file.
      Status writeVerticesNum​(@com.alibaba.fastffi.CXXReference,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long count, ValidateLevel validateLevel)
      Write the number of vertices into the file.
      • Methods inherited from interface com.alibaba.fastffi.CXXPointer

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

        getAddress
    • Method Detail

      • setValidateLevel

        void setValidateLevel​(ValidateLevel validateLevel)
        Set the validate level.
        Parameters:
        validateLevel - The validate level to set.
      • getValidateLevel

        ValidateLevel getValidateLevel()
        Get the validate level.
        Returns:
        The validate level of this writer.
      • writeEdgesNum

        Status writeEdgesNum​(@com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex,
                             @com.alibaba.fastffi.CXXReference,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long count,
                             ValidateLevel validateLevel)
        Write the number of edges into the file.
        Parameters:
        vertexChunkIndex - The index of the vertex chunk.
        count - The number of edges.
        validateLevel - The validate level for this operation, which is the writer's validate level by default.
        Returns:
        Status: ok or error.
      • writeVerticesNum

        Status writeVerticesNum​(@com.alibaba.fastffi.CXXReference,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long count,
                                ValidateLevel validateLevel)
        Write the number of vertices into the file.
        Parameters:
        count - The number of vertices.
        validateLevel - The validate level for this operation, which is the writer's validate level by default.
        Returns:
        Status: ok or error.
      • writeVerticesNum

        Status writeVerticesNum​(@com.alibaba.fastffi.CXXReference,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long count)
        Write the number of vertices into the file.
        Parameters:
        count - The number of vertices.
        Returns:
        Status: ok or error.
      • writeOffsetChunk

        Status writeOffsetChunk​(StdString fileName,
                                @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex,
                                ValidateLevel validateLevel)
        Copy a file as a offset chunk.
        Parameters:
        fileName - The file to copy.
        vertexChunkIndex - The index of the vertex chunk.
        validateLevel - The validate level for this operation, which is the writer's validate level by default.
        Returns:
        Status: ok or error.
      • writeAdjListChunk

        Status writeAdjListChunk​(StdString fileName,
                                 @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex,
                                 @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkIndex,
                                 ValidateLevel validateLevel)
        Copy a file as an adj list chunk.
        Parameters:
        fileName - The file to copy.
        vertexChunkIndex - The index of the vertex chunk.
        chunkIndex - The index of the edge chunk inside the vertex chunk.
        validateLevel - The validate level for this operation, which is the writer's validate level by default.
        Returns:
        Status: ok or error.
      • writePropertyChunk

        Status writePropertyChunk​(StdString fileName,
                                  StdSharedPtr<PropertyGroup> propertyGroup,
                                  @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex,
                                  @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkIndex,
                                  ValidateLevel validateLevel)
        Copy a file as an edge property group chunk.
        Parameters:
        fileName - The file to copy.
        propertyGroup - The property group to write.
        vertexChunkIndex - The index of the vertex chunk.
        chunkIndex - The index of the edge chunk inside the vertex chunk.
        validateLevel - The validate level for this operation, which is the writer's validate level by default.
        Returns:
        Status: ok or error.
      • writeOffsetChunk

        Status writeOffsetChunk​(StdSharedPtr<ArrowTable> inputTable,
                                @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex,
                                ValidateLevel validateLevel)
        Validate and write the offset chunk for a vertex chunk.
        Parameters:
        inputTable - The table containing data.
        vertexChunkIndex - The index of the vertex chunk.
        validateLevel - The validate level for this operation, which is the writer's validate level by default.
        Returns:
        Status: ok or error.
      • writeAdjListChunk

        Status writeAdjListChunk​(StdSharedPtr<ArrowTable> inputTable,
                                 @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex,
                                 @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkIndex,
                                 ValidateLevel validateLevel)
        Validate and write the adj list chunk for an edge chunk.
        Parameters:
        inputTable - The table containing data.
        vertexChunkIndex - The index of the vertex chunk.
        chunkIndex - The index of the edge chunk inside the vertex chunk.
        validateLevel - The validate level for this operation, which is the writer's validate level by default.
        Returns:
        Status: ok or error.
      • writePropertyChunk

        Status writePropertyChunk​(StdSharedPtr<ArrowTable> inputTable,
                                  StdSharedPtr<PropertyGroup> propertyGroup,
                                  @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex,
                                  @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkIndex,
                                  ValidateLevel validateLevel)
        Validate and write a single edge property group for an edge chunk.
        Parameters:
        inputTable - The table containing data.
        propertyGroup - The property group to write.
        vertexChunkIndex - The index of the vertex chunk.
        chunkIndex - The index of the edge chunk inside the vertex chunk.
        validateLevel - The validate level for this operation, which is the writer's validate level by default.
        Returns:
        Status: ok or error.
      • writePropertyChunk

        Status writePropertyChunk​(StdSharedPtr<ArrowTable> inputTable,
                                  @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex,
                                  @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkIndex,
                                  ValidateLevel validateLevel)
        Write all edge property groups for an edge chunk.
        Parameters:
        inputTable - The table containing data.
        vertexChunkIndex - The index of the vertex chunk.
        chunkIndex - The index of the edge chunk inside the vertex chunk.
        validateLevel - The validate level for this operation, which is the writer's validate level by default.
        Returns:
        Status: ok or error.
      • writeChunk

        Status writeChunk​(StdSharedPtr<ArrowTable> inputTable,
                          @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex,
                          @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkIndex,
                          ValidateLevel validateLevel)
        Write the adj list and all property groups for an edge chunk.
        Parameters:
        inputTable - The table containing data.
        vertexChunkIndex - The index of the vertex chunk.
        chunkIndex - The index of the edge chunk inside the vertex chunk.
        validateLevel - The validate level for this operation, which is the writer's validate level by default.
        Returns:
        Status: ok or error.
      • writeAdjListTable

        Status writeAdjListTable​(StdSharedPtr<ArrowTable> inputTable,
                                 @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex,
                                 @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex,
                                 ValidateLevel validateLevel)
        Write the adj list chunks for the edges of a vertex chunk.
        Parameters:
        inputTable - The table containing data.
        vertexChunkIndex - The index of the vertex chunk.
        startChunkIndex - The start index of the edge chunks inside the vertex chunk.
        validateLevel - The validate level for this operation, which is the writer's validate level by default.
        Returns:
        Status: ok or error.
      • writePropertyTable

        Status writePropertyTable​(StdSharedPtr<ArrowTable> inputTable,
                                  StdSharedPtr<PropertyGroup> propertyGroup,
                                  @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex,
                                  @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex,
                                  ValidateLevel validateLevel)
        Write chunks of a single property group for the edges of a vertex chunk.
        Parameters:
        inputTable - The table containing data.
        propertyGroup - The property group to write.
        vertexChunkIndex - The index of the vertex chunk.
        startChunkIndex - The start index of the edge chunks inside the vertex chunk.
        validateLevel - The validate level for this operation, which is the writer's validate level by default.
        Returns:
        Status: ok or error.
      • writePropertyTable

        Status writePropertyTable​(StdSharedPtr<ArrowTable> inputTable,
                                  @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex,
                                  @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex,
                                  ValidateLevel validateLevel)
        Write chunks of all property groups for the edges of a vertex chunk.
        Parameters:
        inputTable - The table containing data.
        vertexChunkIndex - The index of the vertex chunk.
        startChunkIndex - The start index of the edge chunks inside the vertex chunk.
        validateLevel - The validate level for this operation, which is the writer's validate level by default.
        Returns:
        Status: ok or error.
      • writeTable

        Status writeTable​(StdSharedPtr<ArrowTable> inputTable,
                          @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex,
                          @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex,
                          ValidateLevel validateLevel)
        Write chunks of the adj list and all property groups for the edges of a vertex chunk.
        Parameters:
        inputTable - The table containing data.
        vertexChunkIndex - The index of the vertex chunk.
        startChunkIndex - The start index of the edge chunks inside the vertex chunk.
        validateLevel - The validate level for this operation, which is the writer's validate level by default.
        Returns:
        Status: ok or error.
      • sortAndWriteAdjListTable

        Status sortAndWriteAdjListTable​(StdSharedPtr<ArrowTable> inputTable,
                                        @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex,
                                        @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex,
                                        ValidateLevel validateLevel)
        Sort the edges, and write the adj list chunks for the edges of a vertex chunk.
        Parameters:
        inputTable - The table containing data.
        vertexChunkIndex - The index of the vertex chunk.
        startChunkIndex - The start index of the edge chunks inside the vertex chunk.
        validateLevel - The validate level for this operation, which is the writer's validate level by default.
        Returns:
        Status: ok or error.
      • sortAndWriteAdjListTable

        Status sortAndWriteAdjListTable​(StdSharedPtr<ArrowTable> inputTable,
                                        @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex,
                                        @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex)
        Sort the edges, and write the adj list chunks for the edges of a vertex chunk.
        Parameters:
        inputTable - The table containing data.
        vertexChunkIndex - The index of the vertex chunk.
        startChunkIndex - The start index of the edge chunks inside the vertex chunk.
        Returns:
        Status: ok or error.
      • sortAndWritePropertyTable

        Status sortAndWritePropertyTable​(StdSharedPtr<ArrowTable> inputTable,
                                         StdSharedPtr<PropertyGroup> propertyGroup,
                                         @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex,
                                         @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex,
                                         ValidateLevel validateLevel)
        Sort the edges, and write chunks of a single property group for the edges of a vertex chunk.
        Parameters:
        inputTable - The table containing data.
        propertyGroup - The property group to write.
        vertexChunkIndex - The index of the vertex chunk.
        startChunkIndex - The start index of the edge chunks inside the vertex chunk.
        validateLevel - The validate level for this operation, which is the writer's validate level by default.
        Returns:
        Status: ok or error.
      • sortAndWritePropertyTable

        Status sortAndWritePropertyTable​(StdSharedPtr<ArrowTable> inputTable,
                                         @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex,
                                         @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex,
                                         ValidateLevel validateLevel)
        Sort the edges, and write chunks of all property groups for the edges of a vertex chunk.
        Parameters:
        inputTable - The table containing data.
        vertexChunkIndex - The index of the vertex chunk.
        startChunkIndex - The start index of the edge chunks inside the vertex chunk.
        validateLevel - The validate level for this operation, which is the writer's validate level by default.
        Returns:
        Status: ok or error.
      • sortAndWriteTable

        Status sortAndWriteTable​(StdSharedPtr<ArrowTable> inputTable,
                                 @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex,
                                 @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex,
                                 ValidateLevel validateLevel)
        Sort the edges, and write chunks of the adj list and all property groups for the edges of a vertex chunk.
        Parameters:
        inputTable - The table containing data.
        vertexChunkIndex - The index of the vertex chunk.
        startChunkIndex - The start index of the edge chunks inside the vertex chunk.
        validateLevel - The validate level for this operation, which is the writer's validate level by default.
        Returns:
        Status: ok or error.
      • sortAndWriteTable

        Status sortAndWriteTable​(StdSharedPtr<ArrowTable> inputTable,
                                 @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex,
                                 @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex)
        Sort the edges, and write chunks of the adj list and all property groups for the edges of a vertex chunk.
        Parameters:
        inputTable - The table containing data.
        vertexChunkIndex - The index of the vertex chunk.
        startChunkIndex - The start index of the edge chunks inside the vertex chunk.
        Returns:
        Status: ok or error.