public class In extends Filter implements scala.Product, scala.Serializable
true
iff the attribute evaluates to one of the values in the array.
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 |
---|
In(String attribute,
Object[] values) |
Modifier and Type | Method and Description |
---|---|
abstract static R |
apply(T1 v1,
T2 v2) |
String |
attribute() |
boolean |
equals(Object o) |
int |
hashCode() |
String[] |
references()
List of columns that are referenced by this filter.
|
String |
toString() |
Object[] |
values() |
v2references
public abstract static R apply(T1 v1, T2 v2)
public String attribute()
public Object[] values()
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in interface scala.Equals
equals
in class Object
public String toString()
toString
in class Object
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