case class EqualNullSafe(attribute: String, value: Any) extends Filter with Product with Serializable
Performs equality comparison, similar to EqualTo. However, this differs from EqualTo
in that it returns true
(rather than NULL) if both inputs are NULL, and false
(rather than NULL) if one of the input is NULL and the other is not NULL.
- attribute
of the column to be evaluated;
dots
are used as separators for nested columns. If any part of the names containsdots
, it is quoted to avoid confusion.
- Annotations
- @Stable()
- Source
- filters.scala
- Since
1.5.0
- Alphabetic
- By Inheritance
- EqualNullSafe
- Serializable
- Product
- Equals
- Filter
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new EqualNullSafe(attribute: String, value: Any)
- attribute
of the column to be evaluated;
dots
are used as separators for nested columns. If any part of the names containsdots
, it is quoted to avoid confusion.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val attribute: String
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def findReferences(value: Any): Array[String]
- Attributes
- protected
- Definition Classes
- Filter
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def references: Array[String]
List of columns that are referenced by this filter.
List of columns that are referenced by this filter.
Note that, each element in
references
represents a column. The column name follows ANSI SQL names and identifiers: dots are used as separators for nested columns, name will be quoted if it contains special chars.- Definition Classes
- EqualNullSafe → Filter
- Since
2.1.0
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toV2: Predicate
Converts V1 filter to V2 filter
Converts V1 filter to V2 filter
- Definition Classes
- EqualNullSafe → Filter
- def toV2Column(attribute: String): NamedReference
- Attributes
- protected
- Definition Classes
- Filter
- def v2references: Array[Array[String]]
List of columns that are referenced by this filter.
List of columns that are referenced by this filter.
- returns
each element is a column name as an array of string multi-identifier
- Definition Classes
- Filter
- Since
3.0.0
- val value: Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)