libgrape-lite
A C++ library for parallel graph processing
Public Member Functions | Private Types | List of all members
grape::IdxerBase< OID_T, VID_T > Class Template Referenceabstract
Inheritance diagram for grape::IdxerBase< OID_T, VID_T >:
grape::HashMapIdxer< OID_T, VID_T > grape::HashMapIdxerView< OID_T, VID_T > grape::LocalIdxer< OID_T, VID_T > grape::PTHashIdxer< OID_T, VID_T > grape::SortedArrayIdxer< OID_T, VID_T >

Public Member Functions

virtual bool get_key (VID_T vid, internal_oid_t &oid) const =0
 
virtual bool get_index (const internal_oid_t &oid, VID_T &vid) const =0
 
virtual IdxerType type () const =0
 
virtual size_t size () const =0
 
virtual size_t memory_usage () const =0
 
virtual void serialize (std::unique_ptr< IOAdaptorBase > &writer)=0
 
virtual void deserialize (std::unique_ptr< IOAdaptorBase > &reader)=0
 

Private Types

using internal_oid_t = typename InternalOID< OID_T >::type