libgrape-lite
A C++ library for parallel graph processing
|
Public Member Functions | |
SortedArrayIdxer (Array< OID_T, Allocator< OID_T >> &&id_list) | |
bool | get_key (VID_T vid, internal_oid_t &oid) const override |
bool | get_index (const internal_oid_t &oid, VID_T &vid) const override |
IdxerType | type () const override |
void | serialize (std::unique_ptr< IOAdaptorBase > &writer) override |
void | deserialize (std::unique_ptr< IOAdaptorBase > &reader) override |
size_t | size () const override |
size_t | memory_usage () const override |
Private Types | |
using | internal_oid_t = typename InternalOID< OID_T >::type |
Private Attributes | |
Array< OID_T, Allocator< OID_T > > | id_list_ |