Class AbstractAqlChangeGenerator
- java.lang.Object
-
- org.openstreetmap.atlas.mutator.configuration.mutators.ConfiguredAtlasChangeGenerator
-
- org.openstreetmap.atlas.mutator.configuration.mutators.aql.AbstractAqlChangeGenerator
-
- All Implemented Interfaces:
java.io.Serializable,java.util.function.Function<org.openstreetmap.atlas.geography.atlas.Atlas,java.util.Set<org.openstreetmap.atlas.geography.atlas.change.FeatureChange>>,org.openstreetmap.atlas.geography.atlas.change.AtlasChangeGenerator,AqlSupportedAtlasChangeGenerator,org.openstreetmap.atlas.utilities.conversion.Converter<org.openstreetmap.atlas.geography.atlas.Atlas,java.util.Set<org.openstreetmap.atlas.geography.atlas.change.FeatureChange>>
- Direct Known Subclasses:
InsecureAqlChangeGenerator,SecureAqlChangeGenerator
public abstract class AbstractAqlChangeGenerator extends ConfiguredAtlasChangeGenerator implements AqlSupportedAtlasChangeGenerator
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.openstreetmap.atlas.mutator.configuration.mutators.ConfiguredAtlasChangeGenerator
BROADCAST_VARIABLES_NEEDED_JSON_PROPERTY, CLASS_NAME_JSON_PROPERTY, CONFIGURATION_BROADCAST_VARIABLES_NEEDED, CONFIGURATION_CLASS_NAME, CONFIGURATION_COUNTRIES, CONFIGURATION_DEPENDENCIES, CONFIGURATION_DYNAMIC_ATLAS_POLICY_APPLICATION, CONFIGURATION_DYNAMIC_ATLAS_POLICY_GENERATION, CONFIGURATION_ENABLED, CONFIGURATION_EXCLUDED_COUNTRIES, CONFIGURATION_VALIDATE, COUNTRIES_JSON_PROPERTY, DECLARED_MERGE_FORGIVENESS_POLICY_JSON_PROPERTY, DEPENDENCIES_JSON_PROPERTY, DYNAMIC_ATLAS_POLICY_APPLICATION_JSON_PROPERTY, DYNAMIC_ATLAS_POLICY_GENERATION_JSON_PROPERTY, ENABLED_JSON_PROPERTY, EXCLUDED_COUNTRIES_JSON_PROPERTY, INPUT_DEPENDENCIES_JSON_PROPERTY, NAME_JSON_PROPERTY, TYPE_JSON_PROPERTY_VALUE
-
-
Constructor Summary
Constructors Constructor Description AbstractAqlChangeGenerator(java.lang.String name, org.openstreetmap.atlas.utilities.configuration.Configuration configuration)AbstractAqlChangeGenerator(java.lang.String name, org.openstreetmap.atlas.utilities.configuration.Configuration configuration, java.util.List<AqlConfigInfo> aqlConfigInfos)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object other)java.util.Set<org.openstreetmap.atlas.geography.atlas.change.FeatureChange>generateWithoutValidation(org.openstreetmap.atlas.geography.atlas.Atlas atlas)java.util.List<AqlConfigInfo>getAqlConfigInfos()inthashCode()java.util.List<AqlConfigInfo>loadAqlConfig(org.openstreetmap.atlas.geography.atlas.dsl.authentication.Authenticator authenticator, java.lang.String name, org.openstreetmap.atlas.utilities.configuration.Configuration configuration)protected abstract AqlConfigInfotoAqlConfigInfo(org.openstreetmap.atlas.geography.atlas.dsl.authentication.Authenticator authenticator, java.lang.String query, java.lang.String queryClasspath, java.lang.String signature)-
Methods inherited from class org.openstreetmap.atlas.mutator.configuration.mutators.ConfiguredAtlasChangeGenerator
addBroadcastVariable, generate, getBroadcastVariable, getBroadcastVariablesNeeded, getCountries, getDependencies, getDynamicAtlasPolicyApplication, getDynamicAtlasPolicyGeneration, getExcludedCountries, getGlobalPolygonFilter, getInputDependencies, getMergeForgivenessPolicy, getName, getPolygonFilter, getSparkConfiguration, isEnabled, toJson, toString, validate
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.openstreetmap.atlas.mutator.configuration.mutators.aql.AqlSupportedAtlasChangeGenerator
getAuthenticator, getQueryExecutor
-
-
-
-
Constructor Detail
-
AbstractAqlChangeGenerator
public AbstractAqlChangeGenerator(java.lang.String name, org.openstreetmap.atlas.utilities.configuration.Configuration configuration)
-
AbstractAqlChangeGenerator
public AbstractAqlChangeGenerator(java.lang.String name, org.openstreetmap.atlas.utilities.configuration.Configuration configuration, java.util.List<AqlConfigInfo> aqlConfigInfos)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classConfiguredAtlasChangeGenerator
-
generateWithoutValidation
public java.util.Set<org.openstreetmap.atlas.geography.atlas.change.FeatureChange> generateWithoutValidation(org.openstreetmap.atlas.geography.atlas.Atlas atlas)
- Specified by:
generateWithoutValidationin interfaceorg.openstreetmap.atlas.geography.atlas.change.AtlasChangeGenerator
-
getAqlConfigInfos
public java.util.List<AqlConfigInfo> getAqlConfigInfos()
- Specified by:
getAqlConfigInfosin interfaceAqlSupportedAtlasChangeGenerator
-
hashCode
public int hashCode()
- Overrides:
hashCodein classConfiguredAtlasChangeGenerator
-
loadAqlConfig
public java.util.List<AqlConfigInfo> loadAqlConfig(org.openstreetmap.atlas.geography.atlas.dsl.authentication.Authenticator authenticator, java.lang.String name, org.openstreetmap.atlas.utilities.configuration.Configuration configuration)
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
toAqlConfigInfo
protected abstract AqlConfigInfo toAqlConfigInfo(org.openstreetmap.atlas.geography.atlas.dsl.authentication.Authenticator authenticator, java.lang.String query, java.lang.String queryClasspath, java.lang.String signature)
-
-