Interface EdgesBuilder.Factory

  • Enclosing interface:
    EdgesBuilder

    public static interface EdgesBuilder.Factory
    • Method Detail

      • create

        EdgesBuilder create​(StdSharedPtr<EdgeInfo> edgeInfo,
                            StdString prefix,
                            AdjListType adjListType,
                            @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long numVertices,
                            ValidateLevel validateLevel)
        Initialize the EdgesBuilder.
        Parameters:
        edgeInfo - The edge info that describes the vertex type.
        prefix - The absolute prefix.
        adjListType - The adj list type of the edges.
        numVertices - The total number of vertices for source or destination.
        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

        EdgesBuilder create​(StdSharedPtr<EdgeInfo> edgeInfo,
                            StdString prefix,
                            AdjListType adjListType,
                            @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long numVertices)
        Initialize the EdgesBuilder.
        Parameters:
        edgeInfo - The edge info that describes the vertex type.
        prefix - The absolute prefix.
        adjListType - The adj list type of the edges.
        numVertices - The total number of vertices for source or destination.