Class ConfiguredBroadcastableAtlasSharding
- java.lang.Object
-
- org.openstreetmap.atlas.mutator.configuration.broadcast.ConfiguredBroadcastable
-
- org.openstreetmap.atlas.mutator.testing.ConfiguredBroadcastableAtlasSharding
-
- All Implemented Interfaces:
java.io.Serializable,Broadcastable
public class ConfiguredBroadcastableAtlasSharding extends ConfiguredBroadcastable
Example of a broadcastable sharding object- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.openstreetmap.atlas.mutator.configuration.broadcast.ConfiguredBroadcastable
CONFIGURATION_BROADCASTABLE_DEFINITION, CONFIGURATION_ROOT, DEFINITION_JSON_PROPERTY, NAME_JSON_PROPERTY, TYPE_JSON_PROPERTY_VALUE
-
-
Constructor Summary
Constructors Constructor Description ConfiguredBroadcastableAtlasSharding(java.lang.String name, org.openstreetmap.atlas.utilities.configuration.Configuration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openstreetmap.atlas.geography.sharding.Shardingread(java.lang.String definition, java.util.Map<java.lang.String,java.lang.String> configuration)Read the value to broadcast from a definition-
Methods inherited from class org.openstreetmap.atlas.mutator.configuration.broadcast.ConfiguredBroadcastable
getDefinition, getName, read, toJson
-
-
-
-
Method Detail
-
read
public org.openstreetmap.atlas.geography.sharding.Sharding read(java.lang.String definition, java.util.Map<java.lang.String,java.lang.String> configuration)Description copied from interface:BroadcastableRead the value to broadcast from a definition- Parameters:
definition- The definition of the broadcastable valueconfiguration- The spark configuration- Returns:
- The broadcastable variable
-
-