Class OutputDatasetWithDelegate
java.lang.Object
io.openlineage.spark.shade.extension.v1.OutputDatasetWithDelegate
- All Implemented Interfaces:
OutputDatasetWithFacets
Represents an output dataset associated with a node in a LogicalPlan. This class allows for the
extraction of metadata (facets) from output datasets.
It implements both OutputDatasetWithFacets and DatasetWithDelegate, providing
methods to retrieve dataset facets, output dataset facets, and the node from which the dataset is
extracted.
-
Constructor Summary
ConstructorsConstructorDescriptionOutputDatasetWithDelegate(Object node, io.openlineage.client.OpenLineage.DatasetFacetsBuilder datasetFacetsBuilder, io.openlineage.client.OpenLineage.OutputDatasetOutputFacetsBuilder outputFacetsBuilder) Constructs a newOutputDatasetWithDelegate. -
Method Summary
Modifier and TypeMethodDescriptionbooleanio.openlineage.client.OpenLineage.DatasetFacetsBuilderReturns theOpenLineage.DatasetFacetsBuilderfor building dataset facets.getNode()Returns the node in the LogicalPlan from which the output dataset is extracted.io.openlineage.client.OpenLineage.OutputDatasetOutputFacetsBuilderReturns theOpenLineage.OutputDatasetOutputFacetsBuilderfor building output dataset facets.inthashCode()
-
Constructor Details
-
OutputDatasetWithDelegate
public OutputDatasetWithDelegate(Object node, io.openlineage.client.OpenLineage.DatasetFacetsBuilder datasetFacetsBuilder, io.openlineage.client.OpenLineage.OutputDatasetOutputFacetsBuilder outputFacetsBuilder) Constructs a newOutputDatasetWithDelegate.- Parameters:
node- the node in the LogicalPlan from which the output dataset is extracteddatasetFacetsBuilder- a builder for the dataset facetsoutputFacetsBuilder- a builder for the output dataset output facets
-
-
Method Details
-
getDatasetFacetsBuilder
public io.openlineage.client.OpenLineage.DatasetFacetsBuilder getDatasetFacetsBuilder()Returns theOpenLineage.DatasetFacetsBuilderfor building dataset facets.Dataset facets include general metadata associated with the dataset.
- Specified by:
getDatasetFacetsBuilderin interfaceOutputDatasetWithFacets- Returns:
- the dataset facets builder
-
getOutputFacetsBuilder
public io.openlineage.client.OpenLineage.OutputDatasetOutputFacetsBuilder getOutputFacetsBuilder()Returns theOpenLineage.OutputDatasetOutputFacetsBuilderfor building output dataset facets.Output dataset facets include specific metadata related to the output datasets.
- Specified by:
getOutputFacetsBuilderin interfaceOutputDatasetWithFacets- Returns:
- the output dataset facets builder
-
getNode
Returns the node in the LogicalPlan from which the output dataset is extracted.- Returns:
- the LogicalPlan node
-
equals
-
hashCode
public int hashCode()
-