Uses of Interface
org.apache.graphar.util.Result
-
-
Uses of Result in org.apache.graphar.edges
Methods in org.apache.graphar.edges that return Result Modifier and Type Method Description <T> Result<T>Edge. property(StdString property, T tObject)Get the value for a property of the current vertex.<T> Result<T>EdgeIter. property(StdString property, T tObject)Get the value for a property of the current vertex. -
Uses of Result in org.apache.graphar.graphinfo
Methods in org.apache.graphar.graphinfo that return Result Modifier and Type Method Description Result<StdSharedPtr<EdgeInfo>>EdgeInfo. addAdjacentList(StdSharedPtr<AdjacentList> adjList)Result<StdSharedPtr<GraphInfo>>GraphInfo. addEdge(StdSharedPtr<EdgeInfo> edgeInfo)Adds an edge info to the GraphInfo instance and returns a new GraphInfo.Result<StdSharedPtr<EdgeInfo>>EdgeInfo. addPropertyGroup(StdSharedPtr<PropertyGroup> propertyGroup)Add a property group to edge info for the given adjacency list type.Result<StdSharedPtr<VertexInfo>>VertexInfo. addPropertyGroup(StdSharedPtr<PropertyGroup> propertyGroup)Adds a property group to the vertex info.Result<StdSharedPtr<GraphInfo>>GraphInfo. addVertex(StdSharedPtr<VertexInfo> vertexInfo)Adds a vertex info to the GraphInfo instance and returns a new GraphInfo.Result<StdString>EdgeInfo. dump()Returns the edge info as a YAML formatted string.Result<StdString>GraphInfo. dump()Returns the graph info as a YAML formatted string.Result<StdString>VertexInfo. dump()Returns the vertex info as a YAML formatted string.Result<StdString>EdgeInfo. getAdjListFilePath(@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long edgeChunkIndex, AdjListType adjListType)Get the file path of adj list topology chunkResult<StdString>EdgeInfo. getAdjListOffsetFilePath(@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, AdjListType adjListType)Get the adjacency list offset chunk file path of vertex chunk the offset chunks is aligned with the vertex chunksResult<StdString>EdgeInfo. getAdjListPathPrefix(AdjListType adjListType)Get the path prefix of the adjacency list topology chunk for the given adjacency list type.Result<StdString>EdgeInfo. getEdgesNumFilePath(@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkIndex, AdjListType adjListType)Get the file path for the number of edges.Result<StdString>VertexInfo. getFilePath(StdSharedPtr<PropertyGroup> propertyGroup, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkIndex)Get the file path for the specified property group and chunk index.Result<StdString>EdgeInfo. getOffsetPathPrefix(AdjListType adjListType)Get the path prefix of the adjacency list offset chunk for the given adjacency list type.Result<StdString>VertexInfo. getPathPrefix(StdSharedPtr<PropertyGroup> propertyGroup)Get the path prefix for the specified property group.Result<StdString>EdgeInfo. getPropertyFilePath(StdSharedPtr<PropertyGroup> propertyGroup, AdjListType adjListType, @com.alibaba.fastffi.FFINameAlias("graphar::IdType") long vertexChunkIndex, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long edgeChunkIndex)Get the chunk file path of adj list property group the property group chunks is aligned with the adj list topology chunksResult<StdString>EdgeInfo. getPropertyGroupPathPrefix(StdSharedPtr<PropertyGroup> propertyGroup, AdjListType adjListType)Get the path prefix of the property group chunk for the given adjacency list type.Result<StdSharedPtr<DataType>>EdgeInfo. getPropertyType(StdString propertyName)Get the data type of the specified property.Result<StdString>EdgeInfo. getVerticesNumFilePath(AdjListType adjListType)Get the file path for the number of vertices.Result<StdString>VertexInfo. getVerticesNumFilePath()Get the file path for the number of vertices.static Result<StdSharedPtr<EdgeInfo>>EdgeInfo. load(StdSharedPtr<Yaml> yaml)static Result<StdSharedPtr<GraphInfo>>GraphInfo. load(String path)Loads the input file as a `GraphInfo` instance.static Result<StdSharedPtr<VertexInfo>>VertexInfo. load(StdSharedPtr<Yaml> yaml)Loads vertex info from a YAML object.Result<StdSharedPtr<EdgeInfo>>EdgeInfo.Static. Load(StdSharedPtr<Yaml> yaml)Result<StdSharedPtr<GraphInfo>>GraphInfo.Static. Load(StdString path)Result<StdSharedPtr<VertexInfo>>VertexInfo.Static. Load(StdSharedPtr<Yaml> yaml) -
Uses of Result in org.apache.graphar.readers.arrowchunk
Methods in org.apache.graphar.readers.arrowchunk that return Result Modifier and Type Method Description Result<StdSharedPtr<ArrowTable>>AdjListArrowChunkReader. getChunk()Get the current offset chunk as arrow::Array.Result<StdSharedPtr<ArrowArray>>AdjListOffsetArrowChunkReader. getChunk()Get the current offset chunk as arrow::Array.Result<StdSharedPtr<ArrowTable>>AdjListPropertyArrowChunkReader. getChunk()Return the current chunk of chunk position indicator as arrow::TableResult<StdSharedPtr<ArrowTable>>VertexPropertyArrowChunkReader. getChunk()Return the current arrow chunk table of chunk position indicator.Result<Long>AdjListArrowChunkReader. getRowNumOfChunk()Get the number of rows of the current chunk table. -
Uses of Result in org.apache.graphar.readers.chunkinfo
Methods in org.apache.graphar.readers.chunkinfo that return Result Modifier and Type Method Description Result<StdString>AdjListChunkInfoReader. getChunk()Return the current chunk file path of chunk position indicator.Result<StdString>AdjListPropertyChunkInfoReader. getChunk()Return the current chunk file path of chunk position indicator.Result<StdString>VertexPropertyChunkInfoReader. getChunk()Return the current chunk file path of chunk position indicator. -
Uses of Result in org.apache.graphar.util
Methods in org.apache.graphar.util that return Result Modifier and Type Method Description Result<StdSharedPtr<AdjListArrowChunkReader>>GrapharStaticFunctions. constructAdjListArrowChunkReader(StdSharedPtr<GraphInfo> graphInfo, StdString srcLabel, StdString edgeLabel, StdString dstLabel, AdjListType adjListType)Helper function to Construct AdjListArrowChunkReader.Result<StdSharedPtr<AdjListChunkInfoReader>>GrapharStaticFunctions. constructAdjListChunkInfoReader(StdSharedPtr<GraphInfo> graphInfo, StdString srcLabel, StdString edgeLabel, StdString dstLabel, AdjListType adjListType)Helper function to Construct AdjListChunkInfoReader.Result<StdSharedPtr<AdjListOffsetArrowChunkReader>>GrapharStaticFunctions. constructAdjListOffsetArrowChunkReader(StdSharedPtr<GraphInfo> graphInfo, StdString srcLabel, StdString edgeLabel, StdString dstLabel, AdjListType adjListType)Helper function to Construct AdjListOffsetArrowChunkReader.Result<StdSharedPtr<AdjListPropertyArrowChunkReader>>GrapharStaticFunctions. constructAdjListPropertyArrowChunkReader(StdSharedPtr<GraphInfo> graphInfo, StdString srcLabel, StdString edgeLabel, StdString dstLabel, StdSharedPtr<PropertyGroup> propertyGroup, AdjListType adjListType)Helper function to Construct AdjListPropertyArrowChunkReader.Result<StdSharedPtr<AdjListPropertyChunkInfoReader>>GrapharStaticFunctions. constructAdjListPropertyChunkInfoReader(StdSharedPtr<GraphInfo> graphInfo, StdString srcLabel, StdString edgeLabel, StdString dstLabel, StdSharedPtr<PropertyGroup> propertyGroup, AdjListType adjListType)Helper function to Construct AdjListPropertyChunkInfoReader.Result<StdSharedPtr<EdgesCollection>>GrapharStaticFunctions. constructEdgesCollection(StdSharedPtr<GraphInfo> graphInfo, StdString srcLabel, StdString edgeLabel, StdString dstLabel, AdjListType adjListType)Construct the collection for a range of edges.Result<StdSharedPtr<EdgesCollection>>GrapharStaticFunctions. constructEdgesCollection(StdSharedPtr<GraphInfo> graphInfo, StdString srcLabel, StdString edgeLabel, StdString dstLabel, AdjListType adjListType, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkBegin, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long vertexChunkEnd)Construct the collection for a range of edges.Result<StdSharedPtr<VertexPropertyArrowChunkReader>>GrapharStaticFunctions. constructVertexPropertyArrowChunkReader(StdSharedPtr<GraphInfo> graphInfo, StdString label, StdSharedPtr<PropertyGroup> propertyGroup)Helper function to Construct VertexPropertyArrowChunkReader.Result<StdSharedPtr<VertexPropertyChunkInfoReader>>GrapharStaticFunctions. constructVertexPropertyChunkInfoReader(StdSharedPtr<GraphInfo> graphInfo, StdString label, StdSharedPtr<PropertyGroup> propertyGroup)Helper function to Construct VertexPropertyChunkInfoReader.Result<StdSharedPtr<VerticesCollection>>GrapharStaticFunctions. constructVerticesCollection(StdSharedPtr<GraphInfo> graphInfo, StdString label)Construct the collection for vertices with specific label.static Result<StdSharedPtr<Yaml>>Yaml. load(StdString input)Loads the input string as Yaml instance.Result<StdSharedPtr<Yaml>>Yaml.Static. Load(StdString input)static Result<StdSharedPtr<Yaml>>Yaml. loadFile(StdString fileName)Loads the input file as a single Yaml instance.Result<StdSharedPtr<Yaml>>Yaml.Static. LoadFile(StdString fileName) -
Uses of Result in org.apache.graphar.vertices
Methods in org.apache.graphar.vertices that return Result Modifier and Type Method Description <T> Result<T>Vertex. property(StdString property, T tObject)Get the value for a property of the current vertex.<T> Result<T>VertexIter. property(StdString property, T tObject)Get the value for a property of the current vertex.
-