Class File.FileBuilder<C extends File,B extends File.FileBuilder<C,B>>

Enclosing class:
File

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

    • FileBuilder

      public FileBuilder()
  • Method Details

    • $fillValuesFrom

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

      public B typeName(String typeName)
      Fixed typeName for Files.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends File,B extends File.FileBuilder<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.
    • fileAssets

      public B fileAssets(IAsset fileAssets)
      TBC
      Returns:
      this.
    • filePath

      public B filePath(String filePath)
      URL giving the online location where the file can be accessed.
      Returns:
      this.
    • fileType

      public B fileType(FileType fileType)
      Type (extension) of the file.
      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()
    • isGlobal

      public B isGlobal(Boolean isGlobal)
      Whether the resource is global (true) or not (false).
      Returns:
      this.
    • link

      public B link(String link)
      URL to the resource.
      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()
    • reference

      public B reference(String reference)
      Reference to the resource.
      Returns:
      this.
    • putResourceMetadata

      public B putResourceMetadata(String putResourceMetadataKey, String putResourceMetadataValue)
    • resourceMetadata

      public B resourceMetadata(Map<? extends String,? extends String> resourceMetadata)
    • clearResourceMetadata

      public B clearResourceMetadata()
    • self

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

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

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