Uses of Interface
org.apache.graphar.stdcxx.StdSharedPtr
-
-
Uses of StdSharedPtr in org.apache.graphar.arrow
Methods in org.apache.graphar.arrow that return StdSharedPtr Modifier and Type Method Description static StdSharedPtr<ArrowTable>
ArrowTable. fromVectorSchemaRoot(org.apache.arrow.memory.BufferAllocator allocator, org.apache.arrow.vector.VectorSchemaRoot vsr, org.apache.arrow.vector.dictionary.DictionaryProvider provider)
Convert VectorSchemaRoot to C++ arrow::TableMethods in org.apache.graphar.arrow that return types with arguments of type StdSharedPtr Modifier and Type Method Description ArrowResult<StdSharedPtr<ArrowTable>>
ArrowTable.Static. fromArrowArrayAndArrowSchema(@com.alibaba.fastffi.FFITypeAlias("struct ArrowArray*") long arrayAddress, @com.alibaba.fastffi.FFITypeAlias("struct ArrowSchema*") long schemaAddress)
Convert C ArrowArray and ArrowSchema to C++ arrow::Table with JNI wrote manually -
Uses of StdSharedPtr in org.apache.graphar.edges
Methods in org.apache.graphar.edges with parameters of type StdSharedPtr Modifier and Type Method Description EdgeIter
EdgeIter.Factory. create(StdSharedPtr<EdgeInfo> edgeInfo, StdString prefix, AdjListType adjListType, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long globalChunkIndex, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long offset, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkEnd, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkBegin, StdSharedPtr<IndexConverter> indexConverter)
Initialize the iterator. -
Uses of StdSharedPtr in org.apache.graphar.graphinfo
Methods in org.apache.graphar.graphinfo that return StdSharedPtr Modifier and Type Method Description StdSharedPtr<AdjacentList>
EdgeInfo. getAdjacentList(AdjListType adjListType)
StdSharedPtr<EdgeInfo>
GraphInfo. getEdgeInfo(StdString srcLabel, StdString edgeLabel, StdString dstLabel)
default StdSharedPtr<EdgeInfo>
GraphInfo. getEdgeInfo(String srcLabel, String edgeLabel, String dstLabel)
Get the edge info with the given source vertex label, edge label, and destination vertex label.StdSharedPtr<EdgeInfo>
GraphInfo. getEdgeInfoByIndex(int index)
StdSharedPtr<InfoVersion>
GraphInfo. getInfoVersion()
StdSharedPtr<PropertyGroup>
EdgeInfo. getPropertyGroup(StdString property)
Get the property group containing the given property.StdSharedPtr<PropertyGroup>
VertexInfo. getPropertyGroup(StdString propertyName)
Get the property group that contains the specified property.StdSharedPtr<InfoVersion>
EdgeInfo. getVersion()
Get the version info of the edge.StdSharedPtr<InfoVersion>
VertexInfo. getVersion()
Get the version info of the vertex.StdSharedPtr<VertexInfo>
GraphInfo. getVertexInfo(StdString label)
default StdSharedPtr<VertexInfo>
GraphInfo. getVertexInfo(String label)
Get the vertex info with the given label.StdSharedPtr<VertexInfo>
GraphInfo. getVertexInfoByIndex(int index)
StdSharedPtr<DataType>
Property. type()
Methods in org.apache.graphar.graphinfo that return types with arguments of type StdSharedPtr 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.StdVector<StdSharedPtr<EdgeInfo>>
GraphInfo. getEdgeInfos()
Get the edge infos of graph infoStdVector<StdSharedPtr<PropertyGroup>>
EdgeInfo. getPropertyGroups()
Get the property groups.StdVector<StdSharedPtr<PropertyGroup>>
VertexInfo. getPropertyGroups()
Get the property groups of the vertex.Result<StdSharedPtr<DataType>>
EdgeInfo. getPropertyType(StdString propertyName)
Get the data type of the specified property.StdVector<StdSharedPtr<VertexInfo>>
GraphInfo. getVertexInfos()
Get the vertex infos of graph infostatic 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)
Methods in org.apache.graphar.graphinfo with parameters of type StdSharedPtr 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>
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>
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.@com.alibaba.fastffi.FFINameAlias("HasPropertyGroup") boolean
EdgeInfo. hasPropertyGroup(StdSharedPtr<PropertyGroup> propertyGroup)
Returns whether the edge info contains the given property group for the specified adjacency list type.@com.alibaba.fastffi.FFINameAlias("HasPropertyGroup") boolean
VertexInfo. hasPropertyGroup(StdSharedPtr<PropertyGroup> propertyGroup)
Returns whether the vertex info contains the specified property group.static Result<StdSharedPtr<EdgeInfo>>
EdgeInfo. load(StdSharedPtr<Yaml> yaml)
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<VertexInfo>>
VertexInfo.Static. Load(StdSharedPtr<Yaml> yaml)
void
Property. type(StdSharedPtr<DataType> type)
-
Uses of StdSharedPtr in org.apache.graphar.readers.arrowchunk
Methods in org.apache.graphar.readers.arrowchunk that return types with arguments of type StdSharedPtr 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.Methods in org.apache.graphar.readers.arrowchunk with parameters of type StdSharedPtr Modifier and Type Method Description AdjListArrowChunkReader
AdjListArrowChunkReader.Factory. create(StdSharedPtr<EdgeInfo> edgeInfo, AdjListType adjListType, StdString prefix)
Initialize the AdjListOffsetArrowChunkReader.AdjListOffsetArrowChunkReader
AdjListOffsetArrowChunkReader.Factory. create(StdSharedPtr<EdgeInfo> edgeInfo, AdjListType adjListType, StdString prefix)
Initialize the AdjListOffsetArrowChunkReader.AdjListPropertyArrowChunkReader
AdjListPropertyArrowChunkReader.Factory. create(StdSharedPtr<EdgeInfo> edgeInfo, StdSharedPtr<PropertyGroup> propertyGroup, AdjListType adjListType, StdString prefix)
Initialize the AdjListPropertyArrowChunkReader.VertexPropertyArrowChunkReader
VertexPropertyArrowChunkReader.Factory. create(StdSharedPtr<VertexInfo> vertexInfo, StdSharedPtr<PropertyGroup> propertyGroup, StdString prefix)
Initialize the VertexPropertyArrowChunkReader. -
Uses of StdSharedPtr in org.apache.graphar.readers.chunkinfo
Methods in org.apache.graphar.readers.chunkinfo with parameters of type StdSharedPtr Modifier and Type Method Description AdjListChunkInfoReader
AdjListChunkInfoReader.Factory. create(StdSharedPtr<EdgeInfo> edgeInfo, AdjListType adjListType, StdString prefix)
Initialize the AdjListChunkInfoReader.AdjListPropertyChunkInfoReader
AdjListPropertyChunkInfoReader.Factory. create(StdSharedPtr<EdgeInfo> edgeInfo, StdSharedPtr<PropertyGroup> propertyGroup, AdjListType adjListType, StdString prefix)
Initialize the AdjListPropertyChunkInfoReader.VertexPropertyChunkInfoReader
VertexPropertyChunkInfoReader.Factory. create(StdSharedPtr<VertexInfo> vertexInfo, StdSharedPtr<PropertyGroup> propertyGroup, StdString prefix)
Initialize the VertexPropertyChunkInfoReader. -
Uses of StdSharedPtr in org.apache.graphar.util
Methods in org.apache.graphar.util that return StdSharedPtr Modifier and Type Method Description StdSharedPtr<DataType>
GrapharStaticFunctions. booleanType()
StdSharedPtr<AdjacentList>
GrapharStaticFunctions. createAdjacentList(AdjListType adjListType, FileType fileType)
StdSharedPtr<AdjacentList>
GrapharStaticFunctions. createAdjacentList(AdjListType adjListType, FileType fileType, StdString prefix)
StdSharedPtr<EdgeInfo>
GrapharStaticFunctions. createEdgeInfo(StdString srcLabel, StdString edgeLabel, StdString dstLabel, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkSize, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long srcChunkSize, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long dstChunkSize, @com.alibaba.fastffi.CXXValue boolean directed, StdVector<StdSharedPtr<AdjacentList>> adjacentLists, StdVector<StdSharedPtr<PropertyGroup>> propertyGroups)
StdSharedPtr<EdgeInfo>
GrapharStaticFunctions. createEdgeInfo(StdString srcLabel, StdString edgeLabel, StdString dstLabel, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkSize, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long srcChunkSize, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long dstChunkSize, @com.alibaba.fastffi.CXXValue boolean directed, StdVector<StdSharedPtr<AdjacentList>> adjacentLists, StdVector<StdSharedPtr<PropertyGroup>> propertyGroups, StdString prefix)
StdSharedPtr<EdgeInfo>
GrapharStaticFunctions. createEdgeInfo(StdString srcLabel, StdString edgeLabel, StdString dstLabel, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkSize, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long srcChunkSize, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long dstChunkSize, @com.alibaba.fastffi.CXXValue boolean directed, StdVector<StdSharedPtr<AdjacentList>> adjacentLists, StdVector<StdSharedPtr<PropertyGroup>> propertyGroups, StdString prefix, StdSharedPtr<InfoVersion> version)
StdSharedPtr<GraphInfo>
GrapharStaticFunctions. createGraphInfo(StdString name, StdVector<StdSharedPtr<VertexInfo>> vertexInfos, StdVector<StdSharedPtr<EdgeInfo>> edgeInfos, StdString prefix)
StdSharedPtr<GraphInfo>
GrapharStaticFunctions. createGraphInfo(StdString name, StdVector<StdSharedPtr<VertexInfo>> vertexInfos, StdVector<StdSharedPtr<EdgeInfo>> edgeInfos, StdString prefix, StdSharedPtr<InfoVersion> version)
StdSharedPtr<PropertyGroup>
GrapharStaticFunctions. createPropertyGroup(StdVector<Property> properties, FileType fileType)
StdSharedPtr<PropertyGroup>
GrapharStaticFunctions. createPropertyGroup(StdVector<Property> properties, FileType fileType, StdString prefix)
StdSharedPtr<VertexInfo>
GrapharStaticFunctions. createVertexInfo(StdString label, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunk_size, StdVector<StdSharedPtr<PropertyGroup>> propertyGroups)
StdSharedPtr<VertexInfo>
GrapharStaticFunctions. createVertexInfo(StdString label, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunk_size, StdVector<StdSharedPtr<PropertyGroup>> propertyGroups, StdString prefix)
StdSharedPtr<VertexInfo>
GrapharStaticFunctions. createVertexInfo(StdString label, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunk_size, StdVector<StdSharedPtr<PropertyGroup>> propertyGroups, StdString prefix, StdSharedPtr<InfoVersion> version)
StdSharedPtr<DataType>
GrapharStaticFunctions. dateType()
StdSharedPtr<DataType>
GrapharStaticFunctions. float32Type()
StdSharedPtr<DataType>
GrapharStaticFunctions. float64Type()
StdSharedPtr<DataType>
GrapharStaticFunctions. int32Type()
StdSharedPtr<DataType>
GrapharStaticFunctions. int64Type()
StdSharedPtr<DataType>
GrapharStaticFunctions. stringType()
StdSharedPtr<DataType>
GrapharStaticFunctions. timestampType()
Methods in org.apache.graphar.util that return types with arguments of type StdSharedPtr 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)
Methods in org.apache.graphar.util with parameters of type StdSharedPtr 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.StdSharedPtr<EdgeInfo>
GrapharStaticFunctions. createEdgeInfo(StdString srcLabel, StdString edgeLabel, StdString dstLabel, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkSize, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long srcChunkSize, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long dstChunkSize, @com.alibaba.fastffi.CXXValue boolean directed, StdVector<StdSharedPtr<AdjacentList>> adjacentLists, StdVector<StdSharedPtr<PropertyGroup>> propertyGroups, StdString prefix, StdSharedPtr<InfoVersion> version)
StdSharedPtr<GraphInfo>
GrapharStaticFunctions. createGraphInfo(StdString name, StdVector<StdSharedPtr<VertexInfo>> vertexInfos, StdVector<StdSharedPtr<EdgeInfo>> edgeInfos, StdString prefix, StdSharedPtr<InfoVersion> version)
StdSharedPtr<VertexInfo>
GrapharStaticFunctions. createVertexInfo(StdString label, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunk_size, StdVector<StdSharedPtr<PropertyGroup>> propertyGroups, StdString prefix, StdSharedPtr<InfoVersion> version)
Method parameters in org.apache.graphar.util with type arguments of type StdSharedPtr Modifier and Type Method Description StdSharedPtr<EdgeInfo>
GrapharStaticFunctions. createEdgeInfo(StdString srcLabel, StdString edgeLabel, StdString dstLabel, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkSize, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long srcChunkSize, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long dstChunkSize, @com.alibaba.fastffi.CXXValue boolean directed, StdVector<StdSharedPtr<AdjacentList>> adjacentLists, StdVector<StdSharedPtr<PropertyGroup>> propertyGroups)
StdSharedPtr<EdgeInfo>
GrapharStaticFunctions. createEdgeInfo(StdString srcLabel, StdString edgeLabel, StdString dstLabel, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkSize, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long srcChunkSize, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long dstChunkSize, @com.alibaba.fastffi.CXXValue boolean directed, StdVector<StdSharedPtr<AdjacentList>> adjacentLists, StdVector<StdSharedPtr<PropertyGroup>> propertyGroups, StdString prefix)
StdSharedPtr<EdgeInfo>
GrapharStaticFunctions. createEdgeInfo(StdString srcLabel, StdString edgeLabel, StdString dstLabel, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkSize, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long srcChunkSize, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long dstChunkSize, @com.alibaba.fastffi.CXXValue boolean directed, StdVector<StdSharedPtr<AdjacentList>> adjacentLists, StdVector<StdSharedPtr<PropertyGroup>> propertyGroups, StdString prefix, StdSharedPtr<InfoVersion> version)
StdSharedPtr<GraphInfo>
GrapharStaticFunctions. createGraphInfo(StdString name, StdVector<StdSharedPtr<VertexInfo>> vertexInfos, StdVector<StdSharedPtr<EdgeInfo>> edgeInfos, StdString prefix)
StdSharedPtr<GraphInfo>
GrapharStaticFunctions. createGraphInfo(StdString name, StdVector<StdSharedPtr<VertexInfo>> vertexInfos, StdVector<StdSharedPtr<EdgeInfo>> edgeInfos, StdString prefix, StdSharedPtr<InfoVersion> version)
StdSharedPtr<VertexInfo>
GrapharStaticFunctions. createVertexInfo(StdString label, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunk_size, StdVector<StdSharedPtr<PropertyGroup>> propertyGroups)
StdSharedPtr<VertexInfo>
GrapharStaticFunctions. createVertexInfo(StdString label, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunk_size, StdVector<StdSharedPtr<PropertyGroup>> propertyGroups, StdString prefix)
StdSharedPtr<VertexInfo>
GrapharStaticFunctions. createVertexInfo(StdString label, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunk_size, StdVector<StdSharedPtr<PropertyGroup>> propertyGroups, StdString prefix, StdSharedPtr<InfoVersion> version)
-
Uses of StdSharedPtr in org.apache.graphar.vertices
Methods in org.apache.graphar.vertices with parameters of type StdSharedPtr Modifier and Type Method Description VertexIter
VertexIter.Factory. create(StdSharedPtr<VertexInfo> vertexInfo, StdString prefix, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long offset)
Initialize the iterator. -
Uses of StdSharedPtr in org.apache.graphar.writers
Methods in org.apache.graphar.writers with parameters of type StdSharedPtr Modifier and Type Method Description EdgeChunkWriter
EdgeChunkWriter.Factory. create(StdSharedPtr<EdgeInfo> edgeInfo, StdString prefix, AdjListType adjListType)
Initialize the EdgeChunkWriter.VertexPropertyWriter
VertexPropertyWriter.Factory. create(StdSharedPtr<VertexInfo> vertexInfo, StdString prefix)
Initialize the VertexPropertyWriter.Status
EdgeChunkWriter. 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
EdgeChunkWriter. 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
EdgeChunkWriter. 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
EdgeChunkWriter. 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
EdgeChunkWriter. 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
EdgeChunkWriter. 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
EdgeChunkWriter. 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
EdgeChunkWriter. 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
EdgeChunkWriter. 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
VertexPropertyWriter. writeChunk(StdSharedPtr<ArrowTable> inputTable, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkIndex)
Write all property groups of a single vertex chunk to corresponding files.Status
VertexPropertyWriter. writeChunk(StdSharedPtr<ArrowTable> inputTable, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkIndex, ValidateLevel validateLevel)
Write all property groups of a single vertex chunk to corresponding files.Status
VertexPropertyWriter. writeChunk(StdSharedPtr<ArrowTable> inputTable, StdSharedPtr<PropertyGroup> propertyGroup, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkIndex, ValidateLevel validateLevel)
Validate and write a single property group for a single vertex chunk.Status
VertexPropertyWriter. writeChunk(StdString fileName, StdSharedPtr<PropertyGroup> propertyGroup, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long chunkIndex, ValidateLevel validateLevel)
Copy a file as a vertex property group chunk.Status
EdgeChunkWriter. 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
EdgeChunkWriter. 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
EdgeChunkWriter. 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
EdgeChunkWriter. 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
EdgeChunkWriter. 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
EdgeChunkWriter. 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
EdgeChunkWriter. 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
VertexPropertyWriter. writeTable(StdSharedPtr<ArrowTable> inputTable, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex)
Write all property groups for multiple vertex chunks to corresponding files.Status
VertexPropertyWriter. writeTable(StdSharedPtr<ArrowTable> inputTable, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex, ValidateLevel validateLevel)
Write all property groups for multiple vertex chunks to corresponding files.Status
VertexPropertyWriter. writeTable(StdSharedPtr<ArrowTable> inputTable, StdSharedPtr<PropertyGroup> propertyGroup, @com.alibaba.fastffi.CXXValue,@com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startChunkIndex, ValidateLevel validateLevel)
Write a single property group for multiple vertex chunks to corresponding files. -
Uses of StdSharedPtr in org.apache.graphar.writers.builder
Methods in org.apache.graphar.writers.builder with parameters of type StdSharedPtr Modifier and Type Method Description EdgesBuilder
EdgesBuilder.Factory. create(StdSharedPtr<EdgeInfo> edgeInfo, StdString prefix, AdjListType adjListType, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long numVertices)
Initialize the EdgesBuilder.EdgesBuilder
EdgesBuilder.Factory. create(StdSharedPtr<EdgeInfo> edgeInfo, StdString prefix, AdjListType adjListType, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long numVertices, ValidateLevel validateLevel)
Initialize the EdgesBuilder.VerticesBuilder
VerticesBuilder.Factory. create(StdSharedPtr<VertexInfo> vertexInfo, StdString prefix)
Initialize the VerciesBuilder.VerticesBuilder
VerticesBuilder.Factory. create(StdSharedPtr<VertexInfo> vertexInfo, StdString prefix, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startVertexIndex)
Initialize the VerciesBuilder.VerticesBuilder
VerticesBuilder.Factory. create(StdSharedPtr<VertexInfo> vertexInfo, StdString prefix, @com.alibaba.fastffi.FFITypeAlias("graphar::IdType") long startVertexIndex, ValidateLevel validateLevel)
Initialize the VerciesBuilder.
-