public class EqualTo extends Filter implements scala.Product, scala.Serializable
true
iff the column evaluates to a value
equal to value
.
param: attribute of the column to be evaluated; dots
are used as separators
for nested columns. If any part of the names contains dots
,
it is quoted to avoid confusion.
Constructor and Description |
---|
EqualTo(String attribute,
Object value) |
Modifier and Type | Method and Description |
---|---|
abstract static R |
apply(T1 v1,
T2 v2) |
String |
attribute() |
String[] |
references()
List of columns that are referenced by this filter.
|
static String |
toString() |
Predicate |
toV2()
Converts V1 filter to V2 filter
|
Object |
value() |
v2references
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public abstract static R apply(T1 v1, T2 v2)
public static String toString()
public String attribute()
public Object value()
public String[] references()
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.
references
in class Filter