Class DataContract.DataContractBuilder<C extends DataContract,B extends DataContract.DataContractBuilder<C,B>>

Enclosing class:
DataContract

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

    • DataContractBuilder

      public DataContractBuilder()
  • Method Details

    • $fillValuesFrom

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

      public B typeName(String typeName)
      Fixed typeName for DataContracts.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends DataContract,B extends DataContract.DataContractBuilder<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.
    • dataContractAssetCertified

      public B dataContractAssetCertified(IAsset dataContractAssetCertified)
      Asset this contract controls.
      Returns:
      this.
    • dataContractAssetGuid

      public B dataContractAssetGuid(String dataContractAssetGuid)
      Unique identifier of the asset associated with this data contract.
      Returns:
      this.
    • dataContractAssetLatest

      public B dataContractAssetLatest(IAsset dataContractAssetLatest)
      Asset this contract controls or will control.
      Returns:
      this.
    • dataContractJson

      public B dataContractJson(String dataContractJson)
      (Deprecated) Replaced by dataContractSpec attribute.
      Returns:
      this.
    • dataContractNextVersion

      public B dataContractNextVersion(IDataContract dataContractNextVersion)
      Data contract instance that holds the next version of this contract.
      Returns:
      this.
    • dataContractPreviousVersion

      public B dataContractPreviousVersion(IDataContract dataContractPreviousVersion)
      Data contract instance that holds the previous version of this contract.
      Returns:
      this.
    • dataContractSpec

      public B dataContractSpec(String dataContractSpec)
      Actual content of the contract in YAML string format. Any changes to this string should create a new instance (with new sequential version number).
      Returns:
      this.
    • dataContractVersion

      public B dataContractVersion(Long dataContractVersion)
      Version of the contract.
      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()
    • self

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

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

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