Class InputDatasetWithDelegate

java.lang.Object
io.openlineage.spark.shade.extension.v1.InputDatasetWithDelegate
All Implemented Interfaces:
InputDatasetWithFacets

public class InputDatasetWithDelegate extends Object implements 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

    Constructors
    Constructor
    Description
    InputDatasetWithDelegate(Object node, io.openlineage.client.OpenLineage.DatasetFacetsBuilder datasetFacetsBuilder, io.openlineage.client.OpenLineage.InputDatasetInputFacetsBuilder inputFacetsBuilder)
    Constructs a new InputDatasetWithDelegate.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    io.openlineage.client.OpenLineage.DatasetFacetsBuilder
    Returns the OpenLineage.DatasetFacetsBuilder for building dataset facets.
    io.openlineage.client.OpenLineage.InputDatasetInputFacetsBuilder
    Returns the OpenLineage.InputDatasetInputFacetsBuilder for building input dataset facets.
    Returns the node in the LogicalPlan from which the input dataset is extracted.
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InputDatasetWithDelegate

      public InputDatasetWithDelegate(Object node, io.openlineage.client.OpenLineage.DatasetFacetsBuilder datasetFacetsBuilder, io.openlineage.client.OpenLineage.InputDatasetInputFacetsBuilder inputFacetsBuilder)
      Constructs a new InputDatasetWithDelegate.
      Parameters:
      node - the node in the LogicalPlan from which the input dataset is extracted
      datasetFacetsBuilder - a builder for the dataset facets
      inputFacetsBuilder - a builder for the input dataset input facets
  • Method Details

    • getDatasetFacetsBuilder

      public io.openlineage.client.OpenLineage.DatasetFacetsBuilder getDatasetFacetsBuilder()
      Returns the OpenLineage.DatasetFacetsBuilder for building dataset facets.
      Specified by:
      getDatasetFacetsBuilder in interface InputDatasetWithFacets
      Returns:
      the dataset facets builder
    • getInputFacetsBuilder

      public io.openlineage.client.OpenLineage.InputDatasetInputFacetsBuilder getInputFacetsBuilder()
      Returns the OpenLineage.InputDatasetInputFacetsBuilder for building input dataset facets.
      Specified by:
      getInputFacetsBuilder in interface InputDatasetWithFacets
      Returns:
      the input dataset input facets builder
    • getNode

      public Object getNode()
      Returns the node in the LogicalPlan from which the input dataset is extracted.
      Returns:
      the LogicalPlan node
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object