Class DbtModel.DbtModelBuilder<C extends DbtModel,B extends DbtModel.DbtModelBuilder<C,B>>

Enclosing class:
DbtModel

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

    • DbtModelBuilder

      public DbtModelBuilder()
  • Method Details

    • $fillValuesFrom

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

      public B typeName(String typeName)
      Fixed typeName for DbtModels.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends DbtModel,B extends DbtModel.DbtModelBuilder<C,B>>
      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.
    • dbtAccountName

      public B dbtAccountName(String dbtAccountName)
      TBC
      Returns:
      this.
    • dbtAlias

      public B dbtAlias(String dbtAlias)
      TBC
      Returns:
      this.
    • dbtCompiledSQL

      public B dbtCompiledSQL(String dbtCompiledSQL)
      TBC
      Returns:
      this.
    • dbtConnectionContext

      public B dbtConnectionContext(String dbtConnectionContext)
      TBC
      Returns:
      this.
    • dbtEnvironmentDbtVersion

      public B dbtEnvironmentDbtVersion(String dbtEnvironmentDbtVersion)
      TBC
      Returns:
      this.
    • dbtEnvironmentName

      public B dbtEnvironmentName(String dbtEnvironmentName)
      TBC
      Returns:
      this.
    • dbtError

      public B dbtError(String dbtError)
      TBC
      Returns:
      this.
    • dbtJobLastRun

      public B dbtJobLastRun(Long dbtJobLastRun)
      TBC
      Returns:
      this.
    • dbtJobName

      public B dbtJobName(String dbtJobName)
      TBC
      Returns:
      this.
    • dbtJobNextRun

      public B dbtJobNextRun(Long dbtJobNextRun)
      TBC
      Returns:
      this.
    • dbtJobNextRunHumanized

      public B dbtJobNextRunHumanized(String dbtJobNextRunHumanized)
      TBC
      Returns:
      this.
    • dbtJobRun

      public B dbtJobRun(DbtJobRun dbtJobRun)
    • dbtJobRuns

      public B dbtJobRuns(Collection<? extends DbtJobRun> dbtJobRuns)
    • clearDbtJobRuns

      public B clearDbtJobRuns()
    • dbtJobSchedule

      public B dbtJobSchedule(String dbtJobSchedule)
      TBC
      Returns:
      this.
    • dbtJobScheduleCronHumanized

      public B dbtJobScheduleCronHumanized(String dbtJobScheduleCronHumanized)
      TBC
      Returns:
      this.
    • dbtJobStatus

      public B dbtJobStatus(String dbtJobStatus)
      TBC
      Returns:
      this.
    • dbtMaterializationType

      public B dbtMaterializationType(String dbtMaterializationType)
      TBC
      Returns:
      this.
    • dbtMeta

      public B dbtMeta(String dbtMeta)
      TBC
      Returns:
      this.
    • dbtMetric

      public B dbtMetric(IDbtMetric dbtMetric)
    • dbtMetrics

      public B dbtMetrics(Collection<? extends IDbtMetric> dbtMetrics)
    • clearDbtMetrics

      public B clearDbtMetrics()
    • dbtModelColumn

      public B dbtModelColumn(IDbtModelColumn dbtModelColumn)
    • dbtModelColumns

      public B dbtModelColumns(Collection<? extends IDbtModelColumn> dbtModelColumns)
    • clearDbtModelColumns

      public B clearDbtModelColumns()
    • dbtModelCompileCompletedAt

      public B dbtModelCompileCompletedAt(Long dbtModelCompileCompletedAt)
      TBC
      Returns:
      this.
    • dbtModelCompileStartedAt

      public B dbtModelCompileStartedAt(Long dbtModelCompileStartedAt)
      TBC
      Returns:
      this.
    • dbtModelExecuteCompletedAt

      public B dbtModelExecuteCompletedAt(Long dbtModelExecuteCompletedAt)
      TBC
      Returns:
      this.
    • dbtModelExecuteStartedAt

      public B dbtModelExecuteStartedAt(Long dbtModelExecuteStartedAt)
      TBC
      Returns:
      this.
    • dbtModelExecutionTime

      public B dbtModelExecutionTime(Double dbtModelExecutionTime)
      TBC
      Returns:
      this.
    • dbtModelRunElapsedTime

      public B dbtModelRunElapsedTime(Double dbtModelRunElapsedTime)
      TBC
      Returns:
      this.
    • dbtModelRunGeneratedAt

      public B dbtModelRunGeneratedAt(Long dbtModelRunGeneratedAt)
      TBC
      Returns:
      this.
    • dbtModelSqlAsset

      public B dbtModelSqlAsset(ISQL dbtModelSqlAsset)
    • dbtModelSqlAssets

      public B dbtModelSqlAssets(Collection<? extends ISQL> dbtModelSqlAssets)
    • clearDbtModelSqlAssets

      public B clearDbtModelSqlAssets()
    • dbtPackageName

      public B dbtPackageName(String dbtPackageName)
      TBC
      Returns:
      this.
    • dbtProjectName

      public B dbtProjectName(String dbtProjectName)
      TBC
      Returns:
      this.
    • dbtRawSQL

      public B dbtRawSQL(String dbtRawSQL)
      TBC
      Returns:
      this.
    • dbtSemanticLayerProxyUrl

      public B dbtSemanticLayerProxyUrl(String dbtSemanticLayerProxyUrl)
      TBC
      Returns:
      this.
    • dbtStats

      public B dbtStats(String dbtStats)
      TBC
      Returns:
      this.
    • dbtStatus

      public B dbtStatus(String dbtStatus)
      TBC
      Returns:
      this.
    • dbtTag

      public B dbtTag(String dbtTag)
    • dbtTags

      public B dbtTags(Collection<? extends String> dbtTags)
    • clearDbtTags

      public B clearDbtTags()
    • dbtTest

      public B dbtTest(IDbtTest dbtTest)
    • dbtTests

      public B dbtTests(Collection<? extends IDbtTest> dbtTests)
    • clearDbtTests

      public B clearDbtTests()
    • dbtUniqueId

      public B dbtUniqueId(String dbtUniqueId)
      TBC
      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()
    • primarySqlAsset

      public B primarySqlAsset(ISQL primarySqlAsset)
      TBC
      Returns:
      this.
    • self

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

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

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