libgrape-lite
A C++ library for parallel graph processing
|
Public Types | |
using | internal_oid_t = typename InternalOID< OID_T >::type |
![]() | |
using | internal_oid_t = typename InternalOID< OID_T >::type |
Public Member Functions | |
HashPartitioner (size_t frag_num) | |
fid_t | GetPartitionId (const internal_oid_t &oid) const override |
void | SetPartitionId (const internal_oid_t &oid, fid_t fid) override |
void | serialize (std::unique_ptr< IOAdaptorBase > &writer) override |
void | deserialize (std::unique_ptr< IOAdaptorBase > &reader) override |
PartitionerType | type () const override |
size_t | memory_usage () const override |
Private Attributes | |
HASH_T | hash_ |
fid_t | fnum_ |