Package org.apache.gravitino.job
Class JobTemplateChange.SparkTemplateUpdate
java.lang.Object
org.apache.gravitino.job.JobTemplateChange.TemplateUpdate
org.apache.gravitino.job.JobTemplateChange.SparkTemplateUpdate
- Enclosing interface:
- JobTemplateChange
public static final class JobTemplateChange.SparkTemplateUpdate
extends JobTemplateChange.TemplateUpdate
A job template update for spark templates.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder class for constructing SparkTemplateUpdate instances.Nested classes/interfaces inherited from class org.apache.gravitino.job.JobTemplateChange.TemplateUpdate
JobTemplateChange.TemplateUpdate.BaseBuilder<B extends JobTemplateChange.TemplateUpdate.BaseBuilder<B,P>, P extends JobTemplateChange.TemplateUpdate> -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder for SparkTemplateUpdate.booleanChecks if this SparkTemplateUpdate is equal to another object.Get the new archives of the spark job template.Get the new class name of the spark job template.Get the new configs of the spark job template.Get the new files of the spark job template.Get the new jars of the spark job template.inthashCode()Generates a hash code for this SparkTemplateUpdate.Methods inherited from class org.apache.gravitino.job.JobTemplateChange.TemplateUpdate
getNewArguments, getNewCustomFields, getNewEnvironments, getNewExecutable
-
Method Details
-
getNewClassName
Get the new class name of the spark job template.- Returns:
- The new class name of the spark job template.
-
getNewJars
Get the new jars of the spark job template.- Returns:
- The new jars of the spark job template.
-
getNewFiles
Get the new files of the spark job template.- Returns:
- The new files of the spark job template.
-
getNewArchives
Get the new archives of the spark job template.- Returns:
- The new archives of the spark job template.
-
getNewConfigs
Get the new configs of the spark job template.- Returns:
- The new configs of the spark job template.
-
equals
Checks if this SparkTemplateUpdate is equal to another object.- Overrides:
equalsin classJobTemplateChange.TemplateUpdate- Parameters:
o- The object to compare with.- Returns:
- true if the objects are equal, false otherwise.
-
hashCode
public int hashCode()Generates a hash code for this SparkTemplateUpdate.- Overrides:
hashCodein classJobTemplateChange.TemplateUpdate- Returns:
- The hash code.
-
builder
Creates a new builder for SparkTemplateUpdate.- Returns:
- A new Builder instance.
-