Class DbtMetric.DbtMetricBuilder<C extends DbtMetric,B extends DbtMetric.DbtMetricBuilder<C,B>>

Enclosing class:
DbtMetric

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

    • DbtMetricBuilder

      public DbtMetricBuilder()
  • Method Details

    • $fillValuesFrom

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

      public B typeName(String typeName)
      Fixed typeName for DbtMetrics.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends DbtMetric,B extends DbtMetric.DbtMetricBuilder<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.
    • asset

      public B asset(IAsset asset)
    • assets

      public B assets(Collection<? extends IAsset> assets)
    • clearAssets

      public B clearAssets()
    • dbtAccountName

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

      public B dbtAlias(String dbtAlias)
      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.
    • 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.
    • dbtMeta

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

      public B dbtMetricFilterColumn(IColumn dbtMetricFilterColumn)
    • dbtMetricFilterColumns

      public B dbtMetricFilterColumns(Collection<? extends IColumn> dbtMetricFilterColumns)
    • clearDbtMetricFilterColumns

      public B clearDbtMetricFilterColumns()
    • dbtMetricFilter

      public B dbtMetricFilter(DbtMetricFilter dbtMetricFilter)
    • dbtMetricFilters

      public B dbtMetricFilters(Collection<? extends DbtMetricFilter> dbtMetricFilters)
    • clearDbtMetricFilters

      public B clearDbtMetricFilters()
    • dbtModel

      public B dbtModel(IDbtModel dbtModel)
      Model in which this metric exists.
      Returns:
      this.
    • dbtPackageName

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

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

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

      public B dbtTag(String dbtTag)
    • dbtTags

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

      public B clearDbtTags()
    • 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()
    • metricDimensionColumn

      public B metricDimensionColumn(IColumn metricDimensionColumn)
    • metricDimensionColumns

      public B metricDimensionColumns(Collection<? extends IColumn> metricDimensionColumns)
    • clearMetricDimensionColumns

      public B clearMetricDimensionColumns()
    • metricFilters

      public B metricFilters(String metricFilters)
      Filters to be applied to the metric query.
      Returns:
      this.
    • metricSQL

      public B metricSQL(String metricSQL)
      SQL query used to compute the metric.
      Returns:
      this.
    • metricTimeGrain

      public B metricTimeGrain(String metricTimeGrain)
    • metricTimeGrains

      public B metricTimeGrains(Collection<? extends String> metricTimeGrains)
    • clearMetricTimeGrains

      public B clearMetricTimeGrains()
    • metricTimestampColumn

      public B metricTimestampColumn(IColumn metricTimestampColumn)
      TBC
      Returns:
      this.
    • metricType

      public B metricType(String metricType)
      Type of the metric.
      Returns:
      this.
    • 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()
    • self

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

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

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