|
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... | |
| template<typename T > | |
| Result< T > | label () const |
| Get the label 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 48 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 79 of file graph_reader.cc.
|
inlinenoexcept |
Get the id of the vertex.
Definition at line 65 of file graph_reader.h.
|
inline |
Return true if value at the property is valid (not null).
| property | The property name. |
Definition at line 89 of file graph_reader.h.
| Result<T> graphar::Vertex::label | ( | ) | const |
Get the label of the vertex.
| Result< T > graphar::Vertex::property | ( | const std::string & | property | ) | const |
Get the property value of the vertex.
| property | The property name. |
Definition at line 496 of file graph_reader.cc.