if ( shardingStrategyName == null ) {
if ( indexProps.length == 1 ) {
shardingStrategy = new NotShardedStrategy();
}
else {
shardingStrategy = new IdHashShardingStrategy();
}
}
else {
shardingStrategy = ClassLoaderHelper.instanceFromName(
IndexShardingStrategy.class,