Class TableauCalculatedField.TableauCalculatedFieldBuilder<C extends TableauCalculatedField,B extends TableauCalculatedField.TableauCalculatedFieldBuilder<C,B>>

Enclosing class:
TableauCalculatedField

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

    • TableauCalculatedFieldBuilder

      public TableauCalculatedFieldBuilder()
  • Method Details

    • $fillValuesFrom

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

      public B typeName(String typeName)
      Fixed typeName for TableauCalculatedFields.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends TableauCalculatedField,B extends TableauCalculatedField.TableauCalculatedFieldBuilder<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.
    • dataCategory

      public B dataCategory(String dataCategory)
      Data category of this field.
      Returns:
      this.
    • datasource

      public B datasource(ITableauDatasource datasource)
      Datasource in which this calculated field exists.
      Returns:
      this.
    • datasourceQualifiedName

      public B datasourceQualifiedName(String datasourceQualifiedName)
      Unique name of the datasource in which this calculated field exists.
      Returns:
      this.
    • formula

      public B formula(String formula)
      Formula for this calculated field.
      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()
    • addProjectHierarchy

      public B addProjectHierarchy(Map<String,String> addProjectHierarchy)
    • projectHierarchy

      public B projectHierarchy(Collection<? extends Map<String,String>> projectHierarchy)
    • clearProjectHierarchy

      public B clearProjectHierarchy()
    • projectQualifiedName

      public B projectQualifiedName(String projectQualifiedName)
      Unique name of the project in which this calculated field exists.
      Returns:
      this.
    • role

      public B role(String role)
      Role of this field, for example: 'dimension', 'measure', or 'unknown'.
      Returns:
      this.
    • siteQualifiedName

      public B siteQualifiedName(String siteQualifiedName)
      Unique name of the site in which this calculated field exists.
      Returns:
      this.
    • tableauDataType

      public B tableauDataType(String tableauDataType)
      Data type of the field, from Tableau.
      Returns:
      this.
    • topLevelProjectQualifiedName

      public B topLevelProjectQualifiedName(String topLevelProjectQualifiedName)
      Unique name of the top-level project in which this calculated field exists.
      Returns:
      this.
    • upstreamField

      public B upstreamField(Map<String,String> upstreamField)
    • upstreamFields

      public B upstreamFields(Collection<? extends Map<String,String>> upstreamFields)
    • clearUpstreamFields

      public B clearUpstreamFields()
    • workbookQualifiedName

      public B workbookQualifiedName(String workbookQualifiedName)
      Unique name of the workbook in which this calculated field exists.
      Returns:
      this.
    • worksheet

      public B worksheet(ITableauWorksheet worksheet)
    • worksheets

      public B worksheets(Collection<? extends ITableauWorksheet> worksheets)
    • clearWorksheets

      public B clearWorksheets()
    • self

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

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

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