Class AtlasSharding
- java.lang.Object
-
- org.openstreetmap.atlas.generator.sharding.AtlasSharding
-
public final class AtlasSharding extends java.lang.ObjectConvenience methods to get a sharding for theAtlasGenerator
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.openstreetmap.atlas.geography.sharding.ShardingforString(java.lang.String sharding, java.util.Map<java.lang.String,java.lang.String> configuration)Parse a sharding definition stringstatic org.openstreetmap.atlas.geography.sharding.ShardingforString(java.lang.String sharding, org.apache.hadoop.conf.Configuration configuration)Parse a sharding definition string
-
-
-
Method Detail
-
forString
public static org.openstreetmap.atlas.geography.sharding.Sharding forString(java.lang.String sharding, org.apache.hadoop.conf.Configuration configuration)Parse a sharding definition string- Parameters:
sharding- The definition stringconfiguration- configuration for the filesystem- Returns:
- The corresponding
AtlasShardinginstance.
-
forString
public static org.openstreetmap.atlas.geography.sharding.Sharding forString(java.lang.String sharding, java.util.Map<java.lang.String,java.lang.String> configuration)Parse a sharding definition string- Parameters:
sharding- The definition stringconfiguration- configuration for the filesystem- Returns:
- The corresponding
AtlasShardinginstance.
-
-