Class AtlasSharding


  • public final class AtlasSharding
    extends java.lang.Object
    Convenience methods to get a sharding for the AtlasGenerator
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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
      static org.openstreetmap.atlas.geography.sharding.Sharding forString​(java.lang.String sharding, org.apache.hadoop.conf.Configuration configuration)
      Parse a sharding definition string
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 string
        configuration - configuration for the filesystem
        Returns:
        The corresponding AtlasSharding instance.
      • 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 string
        configuration - configuration for the filesystem
        Returns:
        The corresponding AtlasSharding instance.