Class AtlasMutator

  • All Implemented Interfaces:
    java.io.Serializable

    public class AtlasMutator
    extends SparkJob
    SparkJob that applies mutations to Atlas shards, following a specific configuration and Mutator DAG for each country.
    See Also:
    Serialized Form
    • Field Detail

      • COUNTRY_AND_LEVELS

        public static final java.lang.String COUNTRY_AND_LEVELS
        See Also:
        Constant Field Values
      • POTENTIAL_LOG_FILES_PATH

        public static final java.lang.String POTENTIAL_LOG_FILES_PATH
        See Also:
        Constant Field Values
      • POTENTIAL_LOG_FILES_NAME

        public static final java.lang.String POTENTIAL_LOG_FILES_NAME
      • MUTATOR_META_DATA_KEY

        public static final java.lang.String MUTATOR_META_DATA_KEY
        See Also:
        Constant Field Values
      • MUTATOR_META_DATA_SPLIT

        public static final java.lang.String MUTATOR_META_DATA_SPLIT
        See Also:
        Constant Field Values
    • Constructor Detail

      • AtlasMutator

        public AtlasMutator()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
      • getName

        public java.lang.String getName()
        Specified by:
        getName in class SparkJob
        Returns:
        The name of the job
      • onRun

        public int onRun​(org.openstreetmap.atlas.utilities.runtime.CommandMap command)
        Overrides:
        onRun in class SparkJob
      • start

        public void start​(org.openstreetmap.atlas.utilities.runtime.CommandMap command)
        Description copied from class: SparkJob
        The spark Job
        Specified by:
        start in class SparkJob
        Parameters:
        command - The arguments passed to the main method
      • switches

        public org.openstreetmap.atlas.utilities.runtime.Command.SwitchList switches()
        Overrides:
        switches in class SparkJob