Apache GraphAr C++ Library
The C++ Library for Apache GraphAr
|
#include <graph_info.h>
Public Member Functions | |
AdjacentList (AdjListType type, FileType file_type, const std::string &prefix="") | |
AdjListType | GetType () const |
Get the type of adjacent list. More... | |
FileType | GetFileType () const |
Get the file type of adjacent list. More... | |
const std::string & | GetPrefix () const |
Get the prefix of adjacent list. More... | |
bool | IsValidated () const |
AdjacentList is a class to store the adjacency list information.
Definition at line 121 of file graph_info.h.
|
explicit |
Initialize the AdjacentList with the given type, file type, and optional prefix
type | Type of adjacent list |
file_type | File type of adjacent list chunk file |
prefix | The prefix of the adjacent list. If left empty, the default prefix will be set the type name of adjacent list |
Definition at line 161 of file graph_info.cc.
|
inline |
Get the file type of adjacent list.
Definition at line 147 of file graph_info.h.
|
inline |
Get the prefix of adjacent list.
Definition at line 154 of file graph_info.h.
|
inline |
Get the type of adjacent list.
Definition at line 140 of file graph_info.h.
bool graphar::AdjacentList::IsValidated | ( | ) | const |
Returns whether the adjacent list is validated.
Definition at line 169 of file graph_info.cc.