Package org.apache.spark.sql.sources
Class Filter
Object
org.apache.spark.sql.sources.Filter
- Direct Known Subclasses:
AlwaysFalse
,AlwaysTrue
,And
,EqualNullSafe
,EqualTo
,GreaterThan
,GreaterThanOrEqual
,In
,IsNotNull
,IsNull
,LessThan
,LessThanOrEqual
,Not
,Or
,StringContains
,StringEndsWith
,StringStartsWith
A filter predicate for data sources. Mapping between Spark SQL types and filter value
types follow the convention for return type of
Row.get(int)
.
- Since:
- 1.3.0
-
Constructor Details
-
Filter
public Filter()
-
-
Method Details
-
references
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.- Returns:
- (undocumented)
- Since:
- 2.1.0
-
v2references
List of columns that are referenced by this filter.- Returns:
- each element is a column name as an array of string multi-identifier
- Since:
- 3.0.0
-