![]() |
Storage Engine API
|
The default partitioning policy: If using a numeric built-in type, will use the lower bits of a number to decide which partition to assign it to. More...
#include <partitioned.h>
The default partitioning policy: If using a numeric built-in type, will use the lower bits of a number to decide which partition to assign it to.
If using any other type T, you must define partitionOf(const T&, std::size_t) or specialize this template.
Public Member Functions | |
std::size_t | operator() (const T &x, const std::size_t nPartitions) |
|
inline |