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.
  • Method Details

    • getNewClassName

      public String getNewClassName()
      Get the new class name of the spark job template.
      Returns:
      The new class name of the spark job template.
    • getNewJars

      public List<String> getNewJars()
      Get the new jars of the spark job template.
      Returns:
      The new jars of the spark job template.
    • getNewFiles

      public List<String> getNewFiles()
      Get the new files of the spark job template.
      Returns:
      The new files of the spark job template.
    • getNewArchives

      public List<String> getNewArchives()
      Get the new archives of the spark job template.
      Returns:
      The new archives of the spark job template.
    • getNewConfigs

      public Map<String,String> getNewConfigs()
      Get the new configs of the spark job template.
      Returns:
      The new configs of the spark job template.
    • equals

      public boolean equals(Object o)
      Checks if this SparkTemplateUpdate is equal to another object.
      Overrides:
      equals in class JobTemplateChange.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:
      hashCode in class JobTemplateChange.TemplateUpdate
      Returns:
      The hash code.
    • builder

      Creates a new builder for SparkTemplateUpdate.
      Returns:
      A new Builder instance.