public class StringContains extends Filter implements scala.Product, scala.Serializable
true
iff the attribute evaluates to
a string that contains the string 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 |
---|
StringContains(String attribute,
String 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() |
org.apache.spark.sql.connector.expressions.filter.Predicate |
toV2()
Converts V1 filter to V2 filter
|
String |
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 String 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
public org.apache.spark.sql.connector.expressions.filter.Predicate toV2()
Filter