Class OpenLineageRunFacets
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageRunFacets
This class represents the map of run facets for a run. The standard facets from the OpenLineage spec, and the custom facets
registered in the OpenLineage registry, are held in named properties. Any other facets (custom facets, or standard facets not yet modelled) are held in the
additionalProperties map, keyed by their facet name, so that nothing is lost on a round trip through these beans.
The map key of each facet in the JSON is the facet's key from the OpenLineage spec.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return any additional facets that are not modelled as named properties.Return the environmentVariables facet.Return the errorMessage facet.Return the executionParameters facet.Return the externalQuery facet.Return the extractionError facet.Return the gcp_composer_run facet.Return the gcp_dataproc facet.Return the jobDependencies facet.Return the nominalTime facet.Return the parent facet.Return the processing_engine facet.getTags()Return the tags facet.getTest()Return the test facet.inthashCode()Return hash code based on properties.voidsetAdditionalProperties(Map<String, OpenLineageRunFacet> additionalProperties) Set up any additional facets that are not modelled as named properties.voidsetAdditionalProperty(String facetName, OpenLineageRunFacet facet) Add a facet that is not modelled as a named property.voidsetEnvironmentVariables(OpenLineageEnvironmentVariablesRunFacet environmentVariables) Set up the environmentVariables facet.voidsetErrorMessage(OpenLineageErrorMessageRunFacet errorMessage) Set up the errorMessage facet.voidsetExecutionParameters(OpenLineageExecutionParametersRunFacet executionParameters) Set up the executionParameters facet.voidsetExternalQuery(OpenLineageExternalQueryRunFacet externalQuery) Set up the externalQuery facet.voidsetExtractionError(OpenLineageExtractionErrorRunFacet extractionError) Set up the extractionError facet.voidsetGcpComposerRun(OpenLineageGcpComposerRunFacet gcpComposerRun) Set up the gcp_composer_run facet.voidsetGcpDataproc(OpenLineageGcpDataprocRunFacet gcpDataproc) Set up the gcp_dataproc facet.voidsetJobDependencies(OpenLineageJobDependenciesRunFacet jobDependencies) Set up the jobDependencies facet.voidsetNominalTime(OpenLineageNominalTimeRunFacet nominalTime) Set up the nominalTime facet.voidsetParent(OpenLineageParentRunFacet parent) Set up the parent facet.voidsetProcessingEngine(OpenLineageProcessingEngineRunFacet processingEngine) Set up the processing_engine facet.voidSet up the tags facet.voidSet up the test facet.toString()Standard toString method.
-
Constructor Details
-
OpenLineageRunFacets
public OpenLineageRunFacets()Default constructor
-
-
Method Details
-
getParent
Return the parent facet.- Returns:
- facet bean
-
setParent
Set up the parent facet.- Parameters:
parent- facet bean
-
getNominalTime
Return the nominalTime facet.- Returns:
- facet bean
-
setNominalTime
Set up the nominalTime facet.- Parameters:
nominalTime- facet bean
-
getEnvironmentVariables
Return the environmentVariables facet.- Returns:
- facet bean
-
setEnvironmentVariables
Set up the environmentVariables facet.- Parameters:
environmentVariables- facet bean
-
getErrorMessage
Return the errorMessage facet.- Returns:
- facet bean
-
setErrorMessage
Set up the errorMessage facet.- Parameters:
errorMessage- facet bean
-
getExecutionParameters
Return the executionParameters facet.- Returns:
- facet bean
-
setExecutionParameters
Set up the executionParameters facet.- Parameters:
executionParameters- facet bean
-
getExternalQuery
Return the externalQuery facet.- Returns:
- facet bean
-
setExternalQuery
Set up the externalQuery facet.- Parameters:
externalQuery- facet bean
-
getExtractionError
Return the extractionError facet.- Returns:
- facet bean
-
setExtractionError
Set up the extractionError facet.- Parameters:
extractionError- facet bean
-
getJobDependencies
Return the jobDependencies facet.- Returns:
- facet bean
-
setJobDependencies
Set up the jobDependencies facet.- Parameters:
jobDependencies- facet bean
-
getProcessingEngine
Return the processing_engine facet.- Returns:
- facet bean
-
setProcessingEngine
Set up the processing_engine facet.- Parameters:
processingEngine- facet bean
-
getTags
Return the tags facet.- Returns:
- facet bean
-
setTags
Set up the tags facet.- Parameters:
tags- facet bean
-
getTest
Return the test facet.- Returns:
- facet bean
-
setTest
Set up the test facet.- Parameters:
test- facet bean
-
getGcpComposerRun
Return the gcp_composer_run facet.- Returns:
- facet bean
-
setGcpComposerRun
Set up the gcp_composer_run facet.- Parameters:
gcpComposerRun- facet bean
-
getGcpDataproc
Return the gcp_dataproc facet.- Returns:
- facet bean
-
setGcpDataproc
Set up the gcp_dataproc facet.- Parameters:
gcpDataproc- facet bean
-
getAdditionalProperties
Return any additional facets that are not modelled as named properties. They are serialized as top-level facet entries alongside the named facets.- Returns:
- map of facet name to facet
-
setAdditionalProperties
Set up any additional facets that are not modelled as named properties.- Parameters:
additionalProperties- map of facet name to facet
-
setAdditionalProperty
Add a facet that is not modelled as a named property. Jackson calls this for each unrecognized facet found in the JSON.- Parameters:
facetName- name (key) of the facetfacet- facet bean
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-