private EntityHiveConfig buildHiveConfiguration(Collection<Class<?>> classes) {
return new ConfigurationReader(classes).getHiveConfiguration();
}
private ShardStrategyFactory buildShardStrategyFactory() {
return new ShardStrategyFactory() {
public ShardStrategy newShardStrategy(List<ShardId> shardIds) {
return new ShardStrategyImpl(
new HiveShardSelector(config, hive),
new HiveShardResolver(config, hive),
accessStrategy);