Class OlExprId

java.lang.Object
io.openlineage.spark.shade.extension.v1.OlExprId

public final class OlExprId extends Object
A class to hold a reference to Spark's ExprId without introducing a dependency on the Spark library.

This class serves as a lightweight alternative for storing ExprId, which is used in Spark's expression identifiers, while avoiding direct integration with Spark's internal libraries.

See Also:
  • Constructor Details

    • OlExprId

      public OlExprId(Long exprId)
      Constructs a new OlExprId with the specified expression identifier.
      Parameters:
      exprId - the expression identifier
  • Method Details

    • getExprId

      public Long getExprId()
      Returns the expression identifier.
      Returns:
      the expression identifier as a Long
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object