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() |
Predicate |
toV2()
Converts V1 filter to V2 filter
|
Object[] |
values() |
v2referencespublic abstract static R apply(T1 v1,
T2 v2)
public String attribute()
public Object[] values()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in interface scala.Equalsequals in class Objectpublic String toString()
toString in class Objectpublic 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