Class IncompleteSharding

  • All Implemented Interfaces:
    java.io.Serializable, org.openstreetmap.atlas.geography.geojson.GeoJson, org.openstreetmap.atlas.geography.sharding.Sharding

    public class IncompleteSharding
    extends java.lang.Object
    implements org.openstreetmap.atlas.geography.sharding.Sharding
    A sharding interface with just the shards that are available for a certain run.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from interface org.openstreetmap.atlas.geography.sharding.Sharding

        SHARDING_STRING_SPLIT, SLIPPY_ZOOM_MAXIMUM
    • Constructor Summary

      Constructors 
      Constructor Description
      IncompleteSharding​(java.lang.Iterable<? extends org.openstreetmap.atlas.geography.sharding.Shard> shards)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Iterable<org.openstreetmap.atlas.geography.sharding.Shard> neighbors​(org.openstreetmap.atlas.geography.sharding.Shard shard)  
      org.openstreetmap.atlas.geography.sharding.Shard shardForName​(java.lang.String name)  
      java.lang.Iterable<org.openstreetmap.atlas.geography.sharding.Shard> shards​(org.openstreetmap.atlas.geography.GeometricSurface surface)  
      java.lang.Iterable<org.openstreetmap.atlas.geography.sharding.Shard> shardsCovering​(org.openstreetmap.atlas.geography.Location location)  
      java.lang.Iterable<org.openstreetmap.atlas.geography.sharding.Shard> shardsIntersecting​(org.openstreetmap.atlas.geography.PolyLine polyLine)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.openstreetmap.atlas.geography.sharding.Sharding

        asGeoJson, getGeoJsonType, shards
    • Constructor Detail

      • IncompleteSharding

        public IncompleteSharding​(java.lang.Iterable<? extends org.openstreetmap.atlas.geography.sharding.Shard> shards)
    • Method Detail

      • neighbors

        public java.lang.Iterable<org.openstreetmap.atlas.geography.sharding.Shard> neighbors​(org.openstreetmap.atlas.geography.sharding.Shard shard)
        Specified by:
        neighbors in interface org.openstreetmap.atlas.geography.sharding.Sharding
      • shardForName

        public org.openstreetmap.atlas.geography.sharding.Shard shardForName​(java.lang.String name)
        Specified by:
        shardForName in interface org.openstreetmap.atlas.geography.sharding.Sharding
      • shards

        public java.lang.Iterable<org.openstreetmap.atlas.geography.sharding.Shard> shards​(org.openstreetmap.atlas.geography.GeometricSurface surface)
        Specified by:
        shards in interface org.openstreetmap.atlas.geography.sharding.Sharding
      • shardsCovering

        public java.lang.Iterable<org.openstreetmap.atlas.geography.sharding.Shard> shardsCovering​(org.openstreetmap.atlas.geography.Location location)
        Specified by:
        shardsCovering in interface org.openstreetmap.atlas.geography.sharding.Sharding
      • shardsIntersecting

        public java.lang.Iterable<org.openstreetmap.atlas.geography.sharding.Shard> shardsIntersecting​(org.openstreetmap.atlas.geography.PolyLine polyLine)
        Specified by:
        shardsIntersecting in interface org.openstreetmap.atlas.geography.sharding.Sharding