27 #include "graphar/fwd.h"
29 namespace graphar::util {
32 Filter filter =
nullptr;
34 ColumnNames columns = std::nullopt;
38 : filter(filter), columns(columns) {}
43 const std::shared_ptr<PropertyGroup>& property_group) noexcept;
45 Result<std::pair<IdType, IdType>> GetAdjListOffsetOfVertex(
46 const std::shared_ptr<EdgeInfo>& edge_info,
const std::string& prefix,
47 AdjListType adj_list_type, IdType vid) noexcept;
49 Result<IdType> GetVertexChunkNum(
50 const std::string& prefix,
51 const std::shared_ptr<VertexInfo>& vertex_info) noexcept;
53 Result<IdType> GetVertexNum(
54 const std::string& prefix,
55 const std::shared_ptr<VertexInfo>& vertex_info) noexcept;
57 Result<IdType> GetVertexChunkNum(
const std::string& prefix,
58 const std::shared_ptr<EdgeInfo>& edge_info,
59 AdjListType adj_list_type) noexcept;
61 Result<IdType> GetVertexNum(
const std::string& prefix,
62 const std::shared_ptr<EdgeInfo>& edge_info,
63 AdjListType adj_list_type) noexcept;
65 Result<IdType> GetEdgeChunkNum(
const std::string& prefix,
66 const std::shared_ptr<EdgeInfo>& edge_info,
67 AdjListType adj_list_type,
68 IdType vertex_chunk_index) noexcept;
70 Result<IdType> GetEdgeNum(
const std::string& prefix,
71 const std::shared_ptr<EdgeInfo>& edge_info,
72 AdjListType adj_list_type,
73 IdType vertex_chunk_index) noexcept;
Status outcome object (success or error)