Class AdfActivity.AdfActivityBuilder<C extends AdfActivity,B extends AdfActivity.AdfActivityBuilder<C,B>>

Enclosing class:
AdfActivity

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

    • AdfActivityBuilder

      public AdfActivityBuilder()
  • Method Details

    • $fillValuesFrom

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

      public B typeName(String typeName)
      Fixed typeName for AdfActivitys.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends AdfActivity,B extends AdfActivity.AdfActivityBuilder<C,B>>
      Returns:
      this.
    • adfActivityBatchCount

      public B adfActivityBatchCount(Integer adfActivityBatchCount)
      Defines the batch count of activity to runs in ForEach activity.
      Returns:
      this.
    • adfActivityFirstRowOnly

      public B adfActivityFirstRowOnly(Boolean adfActivityFirstRowOnly)
      Indicates whether to import only first row only or not in Lookup activity.
      Returns:
      this.
    • adfActivityIsSequential

      public B adfActivityIsSequential(Boolean adfActivityIsSequential)
      Indicates whether the activity processing is sequential or not inside the ForEach activity.
      Returns:
      this.
    • adfActivityMainClassName

      public B adfActivityMainClassName(String adfActivityMainClassName)
      Defines the main class of the databricks spark activity.
      Returns:
      this.
    • adfActivityNotebookPath

      public B adfActivityNotebookPath(String adfActivityNotebookPath)
      Defines the path of the notebook in the databricks notebook activity.
      Returns:
      this.
    • adfActivityPolictRetryInterval

      public B adfActivityPolictRetryInterval(Integer adfActivityPolictRetryInterval)
      The retry interval in seconds for the ADF activity.
      Returns:
      this.
    • adfActivityPolicyTimeout

      public B adfActivityPolicyTimeout(String adfActivityPolicyTimeout)
      The timout defined for the ADF activity.
      Returns:
      this.
    • adfActivityPrecedingDependency

      public B adfActivityPrecedingDependency(String adfActivityPrecedingDependency)
    • adfActivityPrecedingDependencies

      public B adfActivityPrecedingDependencies(Collection<? extends String> adfActivityPrecedingDependencies)
    • clearAdfActivityPrecedingDependencies

      public B clearAdfActivityPrecedingDependencies()
    • adfActivityPythonFilePath

      public B adfActivityPythonFilePath(String adfActivityPythonFilePath)
      Defines the python file path for databricks python activity.
      Returns:
      this.
    • adfActivityReferenceDataflow

      public B adfActivityReferenceDataflow(String adfActivityReferenceDataflow)
      Defines the dataflow that is to be used in dataflow activity.
      Returns:
      this.
    • adfActivityRun

      public B adfActivityRun(Map<String,String> adfActivityRun)
    • adfActivityRuns

      public B adfActivityRuns(Collection<? extends Map<String,String>> adfActivityRuns)
    • clearAdfActivityRuns

      public B clearAdfActivityRuns()
    • adfActivitySinkType

      public B adfActivitySinkType(String adfActivitySinkType)
      Defines the type of the sink of the ADF activtity.
      Returns:
      this.
    • adfActivitySink

      public B adfActivitySink(String adfActivitySink)
    • adfActivitySinks

      public B adfActivitySinks(Collection<? extends String> adfActivitySinks)
    • clearAdfActivitySinks

      public B clearAdfActivitySinks()
    • adfActivitySourceType

      public B adfActivitySourceType(String adfActivitySourceType)
      Defines the type of the source of the ADF activtity.
      Returns:
      this.
    • adfActivitySource

      public B adfActivitySource(String adfActivitySource)
    • adfActivitySources

      public B adfActivitySources(Collection<? extends String> adfActivitySources)
    • clearAdfActivitySources

      public B clearAdfActivitySources()
    • adfActivityState

      public B adfActivityState(AdfActivityState adfActivityState)
      Defines the state (Active or Inactive) of an ADF activity whether it is active or not.
      Returns:
      this.
    • adfActivitySubActivity

      public B adfActivitySubActivity(String adfActivitySubActivity)
    • adfActivitySubActivities

      public B adfActivitySubActivities(Collection<? extends String> adfActivitySubActivities)
    • clearAdfActivitySubActivities

      public B clearAdfActivitySubActivities()
    • adfActivityType

      public B adfActivityType(String adfActivityType)
      The type of the ADF activity.
      Returns:
      this.
    • adfAssetFolderPath

      public B adfAssetFolderPath(String adfAssetFolderPath)
      Defines the folder path in which this ADF asset exists.
      Returns:
      this.
    • adfDataflow

      public B adfDataflow(IAdfDataflow adfDataflow)
      ADF activities that are associated with this ADF Dataflow.
      Returns:
      this.
    • adfDataset

      public B adfDataset(IAdfDataset adfDataset)
    • adfDatasets

      public B adfDatasets(Collection<? extends IAdfDataset> adfDatasets)
    • clearAdfDatasets

      public B clearAdfDatasets()
    • adfFactoryName

      public B adfFactoryName(String adfFactoryName)
      Defines the name of the factory in which this asset exists.
      Returns:
      this.
    • adfLinkedservice

      public B adfLinkedservice(IAdfLinkedservice adfLinkedservice)
    • adfLinkedservices

      public B adfLinkedservices(Collection<? extends IAdfLinkedservice> adfLinkedservices)
    • clearAdfLinkedservices

      public B clearAdfLinkedservices()
    • adfPipeline

      public B adfPipeline(IAdfPipeline adfPipeline)
      ADF Activity that is associated with this ADF Pipeline.
      Returns:
      this.
    • adfPipelineQualifiedName

      public B adfPipelineQualifiedName(String adfPipelineQualifiedName)
      Unique name of the pipeline in which this activity exists.
      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()
    • 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()
    • process

      public B process(ILineageProcess process)
    • processes

      public B processes(Collection<? extends ILineageProcess> processes)
    • clearProcesses

      public B clearProcesses()
    • self

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

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

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