Class InputDatasetWithDelegate
java.lang.Object
io.openlineage.spark.shade.extension.v1.InputDatasetWithDelegate
- All Implemented Interfaces:
InputDatasetWithFacets
Represents an input dataset associated with a node in a LogicalPlan. This class allows the
extraction of facets (metadata) from the input dataset.
It implements both InputDatasetWithFacets and DatasetWithDelegate, providing
methods to retrieve dataset facets and the node from which the dataset is extracted.
-
Constructor Summary
ConstructorsConstructorDescriptionInputDatasetWithDelegate(Object node, io.openlineage.client.OpenLineage.DatasetFacetsBuilder datasetFacetsBuilder, io.openlineage.client.OpenLineage.InputDatasetInputFacetsBuilder inputFacetsBuilder) Constructs a newInputDatasetWithDelegate. -
Method Summary
Modifier and TypeMethodDescriptionbooleanio.openlineage.client.OpenLineage.DatasetFacetsBuilderReturns theOpenLineage.DatasetFacetsBuilderfor building dataset facets.io.openlineage.client.OpenLineage.InputDatasetInputFacetsBuilderReturns theOpenLineage.InputDatasetInputFacetsBuilderfor building input dataset facets.getNode()Returns the node in the LogicalPlan from which the input dataset is extracted.inthashCode()
-
Constructor Details
-
InputDatasetWithDelegate
public InputDatasetWithDelegate(Object node, io.openlineage.client.OpenLineage.DatasetFacetsBuilder datasetFacetsBuilder, io.openlineage.client.OpenLineage.InputDatasetInputFacetsBuilder inputFacetsBuilder) Constructs a newInputDatasetWithDelegate.- Parameters:
node- the node in the LogicalPlan from which the input dataset is extracteddatasetFacetsBuilder- a builder for the dataset facetsinputFacetsBuilder- a builder for the input dataset input facets
-
-
Method Details
-
getDatasetFacetsBuilder
public io.openlineage.client.OpenLineage.DatasetFacetsBuilder getDatasetFacetsBuilder()Returns theOpenLineage.DatasetFacetsBuilderfor building dataset facets.- Specified by:
getDatasetFacetsBuilderin interfaceInputDatasetWithFacets- Returns:
- the dataset facets builder
-
getInputFacetsBuilder
public io.openlineage.client.OpenLineage.InputDatasetInputFacetsBuilder getInputFacetsBuilder()Returns theOpenLineage.InputDatasetInputFacetsBuilderfor building input dataset facets.- Specified by:
getInputFacetsBuilderin interfaceInputDatasetWithFacets- Returns:
- the input dataset input facets builder
-
getNode
Returns the node in the LogicalPlan from which the input dataset is extracted.- Returns:
- the LogicalPlan node
-
equals
-
hashCode
public int hashCode()
-