|
Apache GraphAr C++ Library
The C++ Library for Apache GraphAr
|
Ordered By Destination EdgesCollection implementation. More...
#include <graph_reader.h>
Public Member Functions | |
| OBDEdgesCollection (const std::shared_ptr< EdgeInfo > &edge_info, const std::string &prefix, IdType vertex_chunk_begin=0, IdType vertex_chunk_end=std::numeric_limits< int64_t >::max()) | |
| Initialize the OBDEdgesCollection with a range of chunks. More... | |
| EdgeIter | find_src (IdType id, const EdgeIter &from) override |
| EdgeIter | find_dst (IdType id, const EdgeIter &from) override |
Public Member Functions inherited from graphar::EdgesCollection | |
| virtual EdgeIter | begin () |
| virtual EdgeIter | end () |
| virtual size_t | size () const noexcept |
Additional Inherited Members | |
Static Public Member Functions inherited from graphar::EdgesCollection | |
| static Result< std::shared_ptr< EdgesCollection > > | Make (const std::shared_ptr< GraphInfo > &graph_info, const std::string &src_type, const std::string &edge_type, const std::string &dst_type, AdjListType adj_list_type, const IdType vertex_chunk_begin=0, const IdType vertex_chunk_end=std::numeric_limits< int64_t >::max()) noexcept |
| Construct an EdgesCollection from graph info and edge type. More... | |
Protected Member Functions inherited from graphar::EdgesCollection | |
| EdgesCollection (const std::shared_ptr< EdgeInfo > &edge_info, const std::string &prefix, IdType vertex_chunk_begin, IdType vertex_chunk_end, AdjListType adj_list_type) | |
| Initialize the EdgesCollection with a range of chunks. More... | |
Protected Attributes inherited from graphar::EdgesCollection | |
| std::shared_ptr< EdgeInfo > | edge_info_ |
| std::string | prefix_ |
| AdjListType | adj_list_type_ |
| IdType | chunk_begin_ |
| IdType | chunk_end_ |
| std::shared_ptr< util::IndexConverter > | index_converter_ |
| std::shared_ptr< EdgeIter > | begin_ |
| std::shared_ptr< EdgeIter > | end_ |
| IdType | edge_num_ |
Ordered By Destination EdgesCollection implementation.
Definition at line 1045 of file graph_reader.h.
|
inlineexplicit |
Initialize the OBDEdgesCollection with a range of chunks.
| edge_info | The edge info that describes the edge type. |
| prefix | The absolute prefix. |
| vertex_chunk_begin | The index of the begin vertex chunk. |
| vertex_chunk_end | The index of the end vertex chunk (not included). |
Definition at line 1057 of file graph_reader.h.
|
inlineoverridevirtual |
Construct and return the iterator pointing to the first incoming edge of the vertex with specific id after the input iterator.
| id | The vertex id. |
| from | The input iterator. |
Implements graphar::EdgesCollection.
Definition at line 1093 of file graph_reader.h.
|
inlineoverridevirtual |
Construct and return the iterator pointing to the first out-going edge of the vertex with specific id after the input iterator.
| id | The vertex id. |
| from | The input iterator. |
Implements graphar::EdgesCollection.
Definition at line 1072 of file graph_reader.h.