com.senseidb.indexing.hadoop.map
Class DummyShardingStrategy
java.lang.Object
com.senseidb.indexing.hadoop.map.DummyShardingStrategy
public class DummyShardingStrategy
- extends Object
Method Summary |
int |
caculateShard(int maxShardId,
org.json.JSONObject dataObj)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyShardingStrategy
public DummyShardingStrategy()
caculateShard
public int caculateShard(int maxShardId,
org.json.JSONObject dataObj)
throws org.json.JSONException
- Throws:
org.json.JSONException
Copyright © 2010-2012. All Rights Reserved.