Class LookerField.LookerFieldBuilder<C extends LookerField,B extends LookerField.LookerFieldBuilder<C,B>>

Enclosing class:
LookerField

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

    • LookerFieldBuilder

      public LookerFieldBuilder()
  • Method Details

    • $fillValuesFrom

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

      public B typeName(String typeName)
      Fixed typeName for LookerFields.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends LookerField,B extends LookerField.LookerFieldBuilder<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.
    • dashboard

      public B dashboard(ILookerDashboard dashboard)
      Dashboard in which this field is used.
      Returns:
      this.
    • explore

      public B explore(ILookerExplore explore)
      Explore in which this field exists.
      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()
    • look

      public B look(ILookerLook look)
      Look in which this field is used.
      Returns:
      this.
    • lookerDashboardQualifiedName

      public B lookerDashboardQualifiedName(String lookerDashboardQualifiedName)
      Unique name of the dashboard in which this field is used.
      Returns:
      this.
    • lookerExploreQualifiedName

      public B lookerExploreQualifiedName(String lookerExploreQualifiedName)
      Unique name of the Explore in which this field exists.
      Returns:
      this.
    • lookerFieldDataType

      public B lookerFieldDataType(String lookerFieldDataType)
      Deprecated.
      Returns:
      this.
    • lookerFieldIsRefined

      public B lookerFieldIsRefined(Boolean lookerFieldIsRefined)
      Whether the looker field asset is coming from a refinement
      Returns:
      this.
    • lookerFieldRefinementFilePath

      public B lookerFieldRefinementFilePath(String lookerFieldRefinementFilePath)
      Absolute path of the file where the refinement of the field is declared.
      Returns:
      this.
    • lookerFieldRefinementLineNumber

      public B lookerFieldRefinementLineNumber(String lookerFieldRefinementLineNumber)
      Line number in the lookerFieldRefinementFilePath where this refinement of the field is declared.
      Returns:
      this.
    • lookerLookQualifiedName

      public B lookerLookQualifiedName(String lookerLookQualifiedName)
      Unique name of the look in which this field is used.
      Returns:
      this.
    • lookerTileQualifiedName

      public B lookerTileQualifiedName(String lookerTileQualifiedName)
      Unique name of the tile in which this field is used.
      Returns:
      this.
    • lookerTimesUsed

      public B lookerTimesUsed(Integer lookerTimesUsed)
      Deprecated.
      Returns:
      this.
    • lookerViewQualifiedName

      public B lookerViewQualifiedName(String lookerViewQualifiedName)
      Unique name of the view in which this field exists.
      Returns:
      this.
    • model

      public B model(ILookerModel model)
      Model in which this field exists.
      Returns:
      this.
    • modelImplementedEntity

      public B modelImplementedEntity(IModelEntity modelImplementedEntity)
    • modelImplementedEntities

      public B modelImplementedEntities(Collection<? extends IModelEntity> modelImplementedEntities)
    • clearModelImplementedEntities

      public B clearModelImplementedEntities()
    • modelName

      public B modelName(String modelName)
      Name of the model in which this field exists.
      Returns:
      this.
    • 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(ILookerProject project)
      Project in which this field exists.
      Returns:
      this.
    • projectName

      public B projectName(String projectName)
      Name of the project in which this field exists.
      Returns:
      this.
    • sourceDefinition

      public B sourceDefinition(String sourceDefinition)
      Deprecated.
      Returns:
      this.
    • tile

      public B tile(ILookerTile tile)
      Tile in which this field is used.
      Returns:
      this.
    • view

      public B view(ILookerView view)
      View in which this field exists.
      Returns:
      this.
    • self

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

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

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