Interface VerticesBuilder.Factory

  • Enclosing interface:
    VerticesBuilder

    public static interface VerticesBuilder.Factory
    • Method Detail

      • create

        VerticesBuilder create​(StdSharedPtr<VertexInfo> vertexInfo,
                               StdString prefix,
                               @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startVertexIndex,
                               ValidateLevel validateLevel)
        Initialize the VerciesBuilder.
        Parameters:
        vertexInfo - The vertex info that describes the vertex type.
        prefix - The absolute prefix.
        startVertexIndex - The start index of the vertices' collection.
        validateLevel - The global validate level for the writer, with no validate by default. It could be ValidateLevel::no_validate, ValidateLevel::weak_validate or ValidateLevel::strong_validate, but could not be ValidateLevel::default_validate.
      • create

        VerticesBuilder create​(StdSharedPtr<VertexInfo> vertexInfo,
                               StdString prefix,
                               @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startVertexIndex)
        Initialize the VerciesBuilder.
        Parameters:
        vertexInfo - The vertex info that describes the vertex type.
        prefix - The absolute prefix.
        startVertexIndex - The start index of the vertices' collection.