OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
shard_key.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SHARD_FOR_KEY(key, num_shards)   ((key % num_shards + num_shards) % num_shards)
 

Macro Definition Documentation

#define SHARD_FOR_KEY (   key,
  num_shards 
)    ((key % num_shards + num_shards) % num_shards)