|
Apache GraphAr C++ Library
The C++ Library for Apache GraphAr
|
Edge contains information of certain edge. More...
#include <graph_reader.h>
Public Member Functions | |
| Edge (AdjListArrowChunkReader &adj_list_reader, std::vector< AdjListPropertyArrowChunkReader > &property_readers) | |
| IdType | source () const noexcept |
| Get source id of the edge. More... | |
| IdType | destination () const noexcept |
| Get destination id of the edge. More... | |
| template<typename T > | |
| Result< T > | property (const std::string &property) const |
| Get the property value of the edge. More... | |
| bool | IsValid (const std::string &property) const |
| Return true if value at the property is valid (not null). More... | |
| template<> | |
| Result< Date > | property (const std::string &property) const |
Edge contains information of certain edge.
Definition at line 109 of file graph_reader.h.
|
explicit |
Initialize the Edge.
| adj_list_reader | The reader for reading the adjList. |
| property_readers | A set of readers for reading the edge properties. |
Definition at line 570 of file graph_reader.cc.
|
inlinenoexcept |
Get destination id of the edge.
Definition at line 133 of file graph_reader.h.
|
inline |
Return true if value at the property is valid (not null).
| property | The property name. |
Definition at line 150 of file graph_reader.h.
| Result< T > graphar::Edge::property | ( | const std::string & | property | ) | const |
Get the property value of the edge.
| property | The property name. |
Definition at line 603 of file graph_reader.cc.
|
inlinenoexcept |
Get source id of the edge.
Definition at line 126 of file graph_reader.h.