Class AirflowTask.AirflowTaskBuilder<C extends AirflowTask,B extends AirflowTask.AirflowTaskBuilder<C,B>>

Enclosing class:
AirflowTask

public abstract static class AirflowTask.AirflowTaskBuilder<C extends AirflowTask,B extends AirflowTask.AirflowTaskBuilder<C,B>> extends Asset.AssetBuilder<C,B>
  • Constructor Details

    • AirflowTaskBuilder

      public AirflowTaskBuilder()
  • Method Details

    • $fillValuesFrom

      protected B $fillValuesFrom(C instance)
      Overrides:
      $fillValuesFrom in class Asset.AssetBuilder<C extends AirflowTask,B extends AirflowTask.AirflowTaskBuilder<C,B>>
    • typeName

      public B typeName(String typeName)
      Fixed typeName for AirflowTasks.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends AirflowTask,B extends AirflowTask.AirflowTaskBuilder<C,B>>
      Returns:
      this.
    • airflowDag

      public B airflowDag(IAirflowDag airflowDag)
      DAG in which this task exists.
      Returns:
      this.
    • airflowDagName

      public B airflowDagName(String airflowDagName)
      Simple name of the DAG this task is contained within.
      Returns:
      this.
    • airflowDagQualifiedName

      public B airflowDagQualifiedName(String airflowDagQualifiedName)
      Unique name of the DAG this task is contained within.
      Returns:
      this.
    • airflowRunEndTime

      public B airflowRunEndTime(Long airflowRunEndTime)
      End time of the run.
      Returns:
      this.
    • airflowRunName

      public B airflowRunName(String airflowRunName)
      Name of the run.
      Returns:
      this.
    • airflowRunOpenLineageState

      public B airflowRunOpenLineageState(OpenLineageRunState airflowRunOpenLineageState)
      State of the run in OpenLineage.
      Returns:
      this.
    • airflowRunOpenLineageVersion

      public B airflowRunOpenLineageVersion(String airflowRunOpenLineageVersion)
      Version of the run in OpenLineage.
      Returns:
      this.
    • airflowRunStartTime

      public B airflowRunStartTime(Long airflowRunStartTime)
      Start time of the run.
      Returns:
      this.
    • airflowRunType

      public B airflowRunType(String airflowRunType)
      Type of the run.
      Returns:
      this.
    • airflowRunVersion

      public B airflowRunVersion(String airflowRunVersion)
      Version of the run in Airflow.
      Returns:
      this.
    • airflowTag

      public B airflowTag(String airflowTag)
    • airflowTags

      public B airflowTags(Collection<? extends String> airflowTags)
    • clearAirflowTags

      public B clearAirflowTags()
    • airflowTaskConnectionId

      public B airflowTaskConnectionId(String airflowTaskConnectionId)
      Identifier for the connection this task accesses.
      Returns:
      this.
    • airflowTaskGroupName

      public B airflowTaskGroupName(String airflowTaskGroupName)
      Group name for the task.
      Returns:
      this.
    • airflowTaskOperatorClass

      public B airflowTaskOperatorClass(String airflowTaskOperatorClass)
      Class name for the operator this task uses.
      Returns:
      this.
    • airflowTaskPool

      public B airflowTaskPool(String airflowTaskPool)
      Pool on which this run happened.
      Returns:
      this.
    • airflowTaskPoolSlots

      public B airflowTaskPoolSlots(Long airflowTaskPoolSlots)
      Pool slots used for the run.
      Returns:
      this.
    • airflowTaskPriorityWeight

      public B airflowTaskPriorityWeight(Long airflowTaskPriorityWeight)
      Priority of the run.
      Returns:
      this.
    • airflowTaskQueue

      public B airflowTaskQueue(String airflowTaskQueue)
      Queue on which this run happened.
      Returns:
      this.
    • airflowTaskRetryNumber

      public B airflowTaskRetryNumber(Long airflowTaskRetryNumber)
      Retry count for this task running.
      Returns:
      this.
    • airflowTaskSql

      public B airflowTaskSql(String airflowTaskSql)
      SQL code that executes through this task.
      Returns:
      this.
    • airflowTaskTriggerRule

      public B airflowTaskTriggerRule(String airflowTaskTriggerRule)
      Trigger for the run.
      Returns:
      this.
    • applicationContainer

      public B applicationContainer(IApplicationContainer applicationContainer)
      ApplicationContainer asset containing this Catalog asset.
      Returns:
      this.
    • assetApplicationQualifiedName

      public B assetApplicationQualifiedName(String assetApplicationQualifiedName)
      Qualified name of the Application Container that contains this asset.
      Returns:
      this.
    • inputToAirflowTask

      public B inputToAirflowTask(IAirflowTask inputToAirflowTask)
    • inputToAirflowTasks

      public B inputToAirflowTasks(Collection<? extends IAirflowTask> inputToAirflowTasks)
    • clearInputToAirflowTasks

      public B clearInputToAirflowTasks()
    • inputToProcess

      public B inputToProcess(ILineageProcess inputToProcess)
    • inputToProcesses

      public B inputToProcesses(Collection<? extends ILineageProcess> inputToProcesses)
    • clearInputToProcesses

      public B clearInputToProcesses()
    • inputToSparkJob

      public B inputToSparkJob(ISparkJob inputToSparkJob)
    • inputToSparkJobs

      public B inputToSparkJobs(Collection<? extends ISparkJob> inputToSparkJobs)
    • clearInputToSparkJobs

      public B clearInputToSparkJobs()
    • input

      public B input(ICatalog input)
    • inputs

      public B inputs(Collection<? extends ICatalog> inputs)
    • clearInputs

      public B clearInputs()
    • modelImplementedEntity

      public B modelImplementedEntity(IModelEntity modelImplementedEntity)
    • modelImplementedEntities

      public B modelImplementedEntities(Collection<? extends IModelEntity> modelImplementedEntities)
    • clearModelImplementedEntities

      public B clearModelImplementedEntities()
    • outputFromAirflowTask

      public B outputFromAirflowTask(IAirflowTask outputFromAirflowTask)
    • outputFromAirflowTasks

      public B outputFromAirflowTasks(Collection<? extends IAirflowTask> outputFromAirflowTasks)
    • clearOutputFromAirflowTasks

      public B clearOutputFromAirflowTasks()
    • outputFromProcess

      public B outputFromProcess(ILineageProcess outputFromProcess)
    • outputFromProcesses

      public B outputFromProcesses(Collection<? extends ILineageProcess> outputFromProcesses)
    • clearOutputFromProcesses

      public B clearOutputFromProcesses()
    • outputFromSparkJob

      public B outputFromSparkJob(ISparkJob outputFromSparkJob)
    • outputFromSparkJobs

      public B outputFromSparkJobs(Collection<? extends ISparkJob> outputFromSparkJobs)
    • clearOutputFromSparkJobs

      public B clearOutputFromSparkJobs()
    • output

      public B output(ICatalog output)
    • outputs

      public B outputs(Collection<? extends ICatalog> outputs)
    • clearOutputs

      public B clearOutputs()
    • process

      public B process(ILineageProcess process)
      Process in which this task exists.
      Returns:
      this.
    • self

      protected abstract B self()
      Specified by:
      self in class Asset.AssetBuilder<C extends AirflowTask,B extends AirflowTask.AirflowTaskBuilder<C,B>>
    • build

      public abstract C build()
      Specified by:
      build in class Asset.AssetBuilder<C extends AirflowTask,B extends AirflowTask.AirflowTaskBuilder<C,B>>
    • toString

      public String toString()
      Overrides:
      toString in class Asset.AssetBuilder<C extends AirflowTask,B extends AirflowTask.AirflowTaskBuilder<C,B>>