Definition at line 205 of file chunk_info_reader.h.
◆ AdjListOffsetChunkInfoReader()
graphar::AdjListOffsetChunkInfoReader::AdjListOffsetChunkInfoReader |
( |
const std::shared_ptr< EdgeInfo > & |
edge_info, |
|
|
AdjListType |
adj_list_type, |
|
|
const std::string & |
prefix |
|
) |
| |
|
explicit |
Initialize the AdjListOffsetChunkInfoReader.
- Parameters
-
edge_info | The edge info that describes the edge type. |
adj_list_type | The adj list type for the edges. Note that the adj list type must be AdjListType::ordered_by_source or AdjListType::ordered_by_dest. |
prefix | The absolute prefix. |
Definition at line 256 of file chunk_info_reader.cc.
◆ Make() [1/2]
Result< std::shared_ptr< AdjListOffsetChunkInfoReader > > graphar::AdjListOffsetChunkInfoReader::Make |
( |
const std::shared_ptr< EdgeInfo > & |
edge_info, |
|
|
AdjListType |
adj_list_type, |
|
|
const std::string & |
prefix |
|
) |
| |
|
static |
◆ Make() [2/2]
Result< std::shared_ptr< AdjListOffsetChunkInfoReader > > graphar::AdjListOffsetChunkInfoReader::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 |
|
) |
| |
|
static |
Create an AdjListOffsetChunkInfoReader instance from graph info.
- Parameters
-
graph_info | The graph info. |
src_label | The source vertex label. |
edge_label | The edge label. |
dst_label | The destination vertex label. |
adj_list_type | The adj list type for the edges. |
Definition at line 325 of file chunk_info_reader.cc.
◆ next_chunk()
Status graphar::AdjListOffsetChunkInfoReader::next_chunk |
( |
| ) |
|
◆ seek()
Status graphar::AdjListOffsetChunkInfoReader::seek |
( |
IdType |
id | ) |
|
Sets chunk position indicator for reader by source internal vertex id.
- Parameters
-
id | the source internal vertex id. |
Definition at line 285 of file chunk_info_reader.cc.
The documentation for this class was generated from the following files: