Class False

java.lang.Object
org.apache.iceberg.expressions.False
All Implemented Interfaces:
Serializable, Expression

public class False extends Object implements Expression
An expression that is always false.
See Also:
  • Method Details

    • op

      public Expression.Operation op()
      Description copied from interface: Expression
      Returns the operation for an expression node.
      Specified by:
      op in interface Expression
    • negate

      public Expression negate()
      Description copied from interface: Expression
      Returns the negation of this expression, equivalent to not(this).
      Specified by:
      negate in interface Expression
    • isEquivalentTo

      public boolean isEquivalentTo(Expression other)
      Description copied from interface: Expression
      Returns whether this expression will accept the same values as another.

      If this returns true, the expressions are guaranteed to return the same evaluation for the same input. However, if this returns false the expressions may return the same evaluation for the same input. That is, expressions may be equivalent even if this returns false.

      For best results, rewrite not and bind expressions before calling this method.

      Specified by:
      isEquivalentTo in interface Expression
      Parameters:
      other - another expression
      Returns:
      true if the expressions are equivalent
    • toString

      public String toString()
      Overrides:
      toString in class Object