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 Link icon

    • LookerFieldBuilder Link icon

      public LookerFieldBuilder()
  • Method Details Link icon

    • $fillValuesFrom Link icon

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

      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.
    • dashboard Link icon

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

      public B explore(ILookerExplore explore)
      Explore in which this field exists.
      Returns:
      this.
    • inputToAirflowTask Link icon

      public B inputToAirflowTask(IAirflowTask inputToAirflowTask)
    • inputToAirflowTasks Link icon

      public B inputToAirflowTasks(Collection<? extends IAirflowTask> inputToAirflowTasks)
    • clearInputToAirflowTasks Link icon

      public B clearInputToAirflowTasks()
    • inputToProcess Link icon

      public B inputToProcess(ILineageProcess inputToProcess)
    • inputToProcesses Link icon

      public B inputToProcesses(Collection<? extends ILineageProcess> inputToProcesses)
    • clearInputToProcesses Link icon

      public B clearInputToProcesses()
    • inputToSparkJob Link icon

      public B inputToSparkJob(ISparkJob inputToSparkJob)
    • inputToSparkJobs Link icon

      public B inputToSparkJobs(Collection<? extends ISparkJob> inputToSparkJobs)
    • clearInputToSparkJobs Link icon

      public B clearInputToSparkJobs()
    • look Link icon

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

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

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

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

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

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

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

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

      public B lookerSlug(String lookerSlug)
      An alpha-numeric slug for the underlying Looker asset that can be used to uniquely identify it
      Returns:
      this.
    • lookerTileQualifiedName Link icon

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

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

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

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

      public B modelImplementedAttribute(IModelAttribute modelImplementedAttribute)
    • modelImplementedAttributes Link icon

      public B modelImplementedAttributes(Collection<? extends IModelAttribute> modelImplementedAttributes)
    • clearModelImplementedAttributes Link icon

      public B clearModelImplementedAttributes()
    • modelImplementedEntity Link icon

      public B modelImplementedEntity(IModelEntity modelImplementedEntity)
    • modelImplementedEntities Link icon

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

      public B clearModelImplementedEntities()
    • modelName Link icon

      public B modelName(String modelName)
      Name of the model in which this field exists.
      Returns:
      this.
    • outputFromAirflowTask Link icon

      public B outputFromAirflowTask(IAirflowTask outputFromAirflowTask)
    • outputFromAirflowTasks Link icon

      public B outputFromAirflowTasks(Collection<? extends IAirflowTask> outputFromAirflowTasks)
    • clearOutputFromAirflowTasks Link icon

      public B clearOutputFromAirflowTasks()
    • outputFromProcess Link icon

      public B outputFromProcess(ILineageProcess outputFromProcess)
    • outputFromProcesses Link icon

      public B outputFromProcesses(Collection<? extends ILineageProcess> outputFromProcesses)
    • clearOutputFromProcesses Link icon

      public B clearOutputFromProcesses()
    • outputFromSparkJob Link icon

      public B outputFromSparkJob(ISparkJob outputFromSparkJob)
    • outputFromSparkJobs Link icon

      public B outputFromSparkJobs(Collection<? extends ISparkJob> outputFromSparkJobs)
    • clearOutputFromSparkJobs Link icon

      public B clearOutputFromSparkJobs()
    • project Link icon

      public B project(ILookerProject project)
      Project in which this field exists.
      Returns:
      this.
    • projectName Link icon

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

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

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

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

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

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

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