Class TableauDatasource.TableauDatasourceBuilder<C extends TableauDatasource,B extends TableauDatasource.TableauDatasourceBuilder<C,B>>

Enclosing class:
TableauDatasource

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

    • TableauDatasourceBuilder

      public TableauDatasourceBuilder()
  • Method Details

    • $fillValuesFrom

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

      public B typeName(String typeName)
      Fixed typeName for TableauDatasources.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends TableauDatasource,B extends TableauDatasource.TableauDatasourceBuilder<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.
    • certificationNote

      public B certificationNote(String certificationNote)
      Notes related to this datasource being cerfified, in Tableau.
      Returns:
      this.
    • putCertifier

      public B putCertifier(String putCertifierKey, String putCertifierValue)
    • certifier

      public B certifier(Map<? extends String,? extends String> certifier)
    • clearCertifier

      public B clearCertifier()
    • certifierDisplayName

      public B certifierDisplayName(String certifierDisplayName)
      Name of the user who cerified this datasource, in Tableau.
      Returns:
      this.
    • field

      public B field(ITableauField field)
    • fields

      public B fields(Collection<? extends ITableauField> fields)
    • clearFields

      public B clearFields()
    • hasExtracts

      public B hasExtracts(Boolean hasExtracts)
      Whether this datasource has extracts (true) or not (false).
      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()
    • isCertified

      public B isCertified(Boolean isCertified)
      Whether this datasource is certified in Tableau (true) or not (false).
      Returns:
      this.
    • isPublished

      public B isPublished(Boolean isPublished)
      Whether this datasource is published (true) or embedded (false).
      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()
    • project

      public B project(ITableauProject project)
      Project in which this datasource exists.
      Returns:
      this.
    • 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 datasource exists.
      Returns:
      this.
    • siteQualifiedName

      public B siteQualifiedName(String siteQualifiedName)
      Unique name of the site in which this datasource exists.
      Returns:
      this.
    • topLevelProjectQualifiedName

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

      public B upstreamDatasource(Map<String,String> upstreamDatasource)
    • upstreamDatasources

      public B upstreamDatasources(Collection<? extends Map<String,String>> upstreamDatasources)
    • clearUpstreamDatasources

      public B clearUpstreamDatasources()
    • upstreamTable

      public B upstreamTable(Map<String,String> upstreamTable)
    • upstreamTables

      public B upstreamTables(Collection<? extends Map<String,String>> upstreamTables)
    • clearUpstreamTables

      public B clearUpstreamTables()
    • workbook

      public B workbook(ITableauWorkbook workbook)
      Workbook in which this datasource exists.
      Returns:
      this.
    • workbookQualifiedName

      public B workbookQualifiedName(String workbookQualifiedName)
      Unique name of the workbook in which this datasource exists.
      Returns:
      this.
    • self

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

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

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