Apache GraphAr C++ Library
The C++ Library for Apache GraphAr
|
Vertex contains information of certain vertex. More...
#include <graph_reader.h>
Public Member Functions | |
Vertex (IdType id, std::vector< VertexPropertyArrowChunkReader > &readers) | |
IdType | id () const noexcept |
Get the id of the vertex. More... | |
template<typename T > | |
Result< T > | property (const std::string &property) const |
Get the property value of the vertex. 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 |
Vertex contains information of certain vertex.
Definition at line 49 of file graph_reader.h.
|
explicit |
Initialize the Vertex.
id | The vertex id. |
readers | A set of readers for reading the vertex properties. |
Definition at line 74 of file graph_reader.cc.
|
inlinenoexcept |
Get the id of the vertex.
Definition at line 66 of file graph_reader.h.
|
inline |
Return true if value at the property is valid (not null).
property | The property name. |
Definition at line 83 of file graph_reader.h.
Result< T > graphar::Vertex::property | ( | const std::string & | property | ) | const |
Get the property value of the vertex.
property | The property name. |
Definition at line 98 of file graph_reader.cc.