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 |
![]() | |
virtual EdgeIter | begin () |
virtual EdgeIter | end () |
virtual size_t | size () const noexcept |
Additional Inherited Members | |
![]() | |
static Result< std::shared_ptr< EdgesCollection > > | Make (const std::shared_ptr< GraphInfo > &graph_info, const std::string &src_label, const std::string &edge_label, const std::string &dst_label, 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 label. More... | |
![]() | |
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... | |
![]() | |
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 877 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 889 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 925 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 904 of file graph_reader.h.