com.senseidb.indexing
Interface ShardingStrategy

All Known Implementing Classes:
ShardingStrategy.FieldModShardingStrategy

public interface ShardingStrategy


Nested Class Summary
static class ShardingStrategy.FieldModShardingStrategy
           
 
Method Summary
 int caculateShard(int maxShardId, org.json.JSONObject dataObj)
           
 

Method Detail

caculateShard

int caculateShard(int maxShardId,
                  org.json.JSONObject dataObj)
                  throws org.json.JSONException
Throws:
org.json.JSONException


Copyright © 2010-2012. All Rights Reserved.