Object
org.apache.spark.sql.internal.connector.ExpressionWithToString
All Implemented Interfaces:
Serializable, Expression, Literal<Boolean>, scala.Serializable

@Evolving public final class AlwaysFalse extends Predicate implements Literal<Boolean>
A predicate that always evaluates to false.
Since:
3.3.0
See Also:
  • Constructor Details

    • AlwaysFalse

      public AlwaysFalse()
  • Method Details

    • value

      public Boolean value()
      Description copied from interface: Literal
      Returns the literal value.
      Specified by:
      value in interface Literal<Boolean>
    • dataType

      public DataType dataType()
      Description copied from interface: Literal
      Returns the SQL data type of the literal.
      Specified by:
      dataType in interface Literal<Boolean>
    • toString

      public String toString()
      Overrides:
      toString in class org.apache.spark.sql.internal.connector.ExpressionWithToString