package sources
- Alphabetic
- Public
- Protected
Type Members
- case class AlwaysFalse() extends Filter with Product with Serializable
A filter that always evaluates to
false.A filter that always evaluates to
false.- Annotations
- @Evolving()
- Since
3.0.0
- case class AlwaysTrue() extends Filter with Product with Serializable
A filter that always evaluates to
true.A filter that always evaluates to
true.- Annotations
- @Evolving()
- Since
3.0.0
- case class And(left: Filter, right: Filter) extends Filter with Product with Serializable
A filter that evaluates to
trueiff bothleftorrightevaluate totrue.A filter that evaluates to
trueiff bothleftorrightevaluate totrue.- Annotations
- @Stable()
- Since
1.3.0
- case class CollatedEqualNullSafe(attribute: String, value: Any, dataType: DataType) extends CollatedFilter with Product with Serializable
Collation aware equivalent of EqualNullSafe.
Collation aware equivalent of EqualNullSafe.
- Annotations
- @Evolving()
- case class CollatedEqualTo(attribute: String, value: Any, dataType: DataType) extends CollatedFilter with Product with Serializable
Collation aware equivalent of EqualTo.
Collation aware equivalent of EqualTo.
- Annotations
- @Evolving()
- abstract class CollatedFilter extends Filter
Base class for collation aware string filters.
Base class for collation aware string filters.
- Annotations
- @Evolving()
- case class CollatedGreaterThan(attribute: String, value: Any, dataType: DataType) extends CollatedFilter with Product with Serializable
Collation aware equivalent of GreaterThan.
Collation aware equivalent of GreaterThan.
- Annotations
- @Evolving()
- case class CollatedGreaterThanOrEqual(attribute: String, value: Any, dataType: DataType) extends CollatedFilter with Product with Serializable
Collation aware equivalent of GreaterThanOrEqual.
Collation aware equivalent of GreaterThanOrEqual.
- Annotations
- @Evolving()
- case class CollatedIn(attribute: String, values: Array[Any], dataType: DataType) extends CollatedFilter with Product with Serializable
Collation aware equivalent of In.
Collation aware equivalent of In.
- Annotations
- @Evolving()
- case class CollatedLessThan(attribute: String, value: Any, dataType: DataType) extends CollatedFilter with Product with Serializable
Collation aware equivalent of LessThan.
Collation aware equivalent of LessThan.
- Annotations
- @Evolving()
- case class CollatedLessThanOrEqual(attribute: String, value: Any, dataType: DataType) extends CollatedFilter with Product with Serializable
Collation aware equivalent of LessThanOrEqual.
Collation aware equivalent of LessThanOrEqual.
- Annotations
- @Evolving()
- case class CollatedStringContains(attribute: String, value: String, dataType: DataType) extends CollatedFilter with Product with Serializable
Collation aware equivalent of StringContains.
Collation aware equivalent of StringContains.
- Annotations
- @Evolving()
- case class CollatedStringEndsWith(attribute: String, value: String, dataType: DataType) extends CollatedFilter with Product with Serializable
Collation aware equivalent of StringEndsWith.
Collation aware equivalent of StringEndsWith.
- Annotations
- @Evolving()
- case class CollatedStringStartsWith(attribute: String, value: String, dataType: DataType) extends CollatedFilter with Product with Serializable
Collation aware equivalent of StringStartsWith.
Collation aware equivalent of StringStartsWith.
- Annotations
- @Evolving()
- case class EqualNullSafe(attribute: String, value: Any) extends Filter with Product with Serializable
Performs equality comparison, similar to EqualTo.
Performs equality comparison, similar to EqualTo. However, this differs from EqualTo in that it returns
true(rather than NULL) if both inputs are NULL, andfalse(rather than NULL) if one of the input is NULL and the other is not NULL.- attribute
of the column to be evaluated;
dotsare used as separators for nested columns. If any part of the names containsdots, it is quoted to avoid confusion.
- Annotations
- @Stable()
- Since
1.5.0
- case class EqualTo(attribute: String, value: Any) extends Filter with Product with Serializable
A filter that evaluates to
trueiff the column evaluates to a value equal tovalue.A filter that evaluates to
trueiff the column evaluates to a value equal tovalue.- attribute
of the column to be evaluated;
dotsare used as separators for nested columns. If any part of the names containsdots, it is quoted to avoid confusion.
- Annotations
- @Stable()
- Since
1.3.0
- sealed abstract class Filter extends AnyRef
A filter predicate for data sources.
A filter predicate for data sources. Mapping between Spark SQL types and filter value types follow the convention for return type of org.apache.spark.sql.Row#get(int).
- Annotations
- @Stable()
- Since
1.3.0
- case class GreaterThan(attribute: String, value: Any) extends Filter with Product with Serializable
A filter that evaluates to
trueiff the attribute evaluates to a value greater thanvalue.A filter that evaluates to
trueiff the attribute evaluates to a value greater thanvalue.- attribute
of the column to be evaluated;
dotsare used as separators for nested columns. If any part of the names containsdots, it is quoted to avoid confusion.
- Annotations
- @Stable()
- Since
1.3.0
- case class GreaterThanOrEqual(attribute: String, value: Any) extends Filter with Product with Serializable
A filter that evaluates to
trueiff the attribute evaluates to a value greater than or equal tovalue.A filter that evaluates to
trueiff the attribute evaluates to a value greater than or equal tovalue.- attribute
of the column to be evaluated;
dotsare used as separators for nested columns. If any part of the names containsdots, it is quoted to avoid confusion.
- Annotations
- @Stable()
- Since
1.3.0
- case class In(attribute: String, values: Array[Any]) extends Filter with Product with Serializable
A filter that evaluates to
trueiff the attribute evaluates to one of the values in the array.A filter that evaluates to
trueiff the attribute evaluates to one of the values in the array.- attribute
of the column to be evaluated;
dotsare used as separators for nested columns. If any part of the names containsdots, it is quoted to avoid confusion.
- Annotations
- @Stable()
- Since
1.3.0
- case class IsNotNull(attribute: String) extends Filter with Product with Serializable
A filter that evaluates to
trueiff the attribute evaluates to a non-null value.A filter that evaluates to
trueiff the attribute evaluates to a non-null value.- attribute
of the column to be evaluated;
dotsare used as separators for nested columns. If any part of the names containsdots, it is quoted to avoid confusion.
- Annotations
- @Stable()
- Since
1.3.0
- case class IsNull(attribute: String) extends Filter with Product with Serializable
A filter that evaluates to
trueiff the attribute evaluates to null.A filter that evaluates to
trueiff the attribute evaluates to null.- attribute
of the column to be evaluated;
dotsare used as separators for nested columns. If any part of the names containsdots, it is quoted to avoid confusion.
- Annotations
- @Stable()
- Since
1.3.0
- case class LessThan(attribute: String, value: Any) extends Filter with Product with Serializable
A filter that evaluates to
trueiff the attribute evaluates to a value less thanvalue.A filter that evaluates to
trueiff the attribute evaluates to a value less thanvalue.- attribute
of the column to be evaluated;
dotsare used as separators for nested columns. If any part of the names containsdots, it is quoted to avoid confusion.
- Annotations
- @Stable()
- Since
1.3.0
- case class LessThanOrEqual(attribute: String, value: Any) extends Filter with Product with Serializable
A filter that evaluates to
trueiff the attribute evaluates to a value less than or equal tovalue.A filter that evaluates to
trueiff the attribute evaluates to a value less than or equal tovalue.- attribute
of the column to be evaluated;
dotsare used as separators for nested columns. If any part of the names containsdots, it is quoted to avoid confusion.
- Annotations
- @Stable()
- Since
1.3.0
- case class Not(child: Filter) extends Filter with Product with Serializable
A filter that evaluates to
trueiffchildis evaluated tofalse.A filter that evaluates to
trueiffchildis evaluated tofalse.- Annotations
- @Stable()
- Since
1.3.0
- case class Or(left: Filter, right: Filter) extends Filter with Product with Serializable
A filter that evaluates to
trueiff at least one ofleftorrightevaluates totrue.A filter that evaluates to
trueiff at least one ofleftorrightevaluates totrue.- Annotations
- @Stable()
- Since
1.3.0
- case class StringContains(attribute: String, value: String) extends Filter with Product with Serializable
A filter that evaluates to
trueiff the attribute evaluates to a string that contains the stringvalue.A filter that evaluates to
trueiff the attribute evaluates to a string that contains the stringvalue.- attribute
of the column to be evaluated;
dotsare used as separators for nested columns. If any part of the names containsdots, it is quoted to avoid confusion.
- Annotations
- @Stable()
- Since
1.3.1
- case class StringEndsWith(attribute: String, value: String) extends Filter with Product with Serializable
A filter that evaluates to
trueiff the attribute evaluates to a string that ends withvalue.A filter that evaluates to
trueiff the attribute evaluates to a string that ends withvalue.- attribute
of the column to be evaluated;
dotsare used as separators for nested columns. If any part of the names containsdots, it is quoted to avoid confusion.
- Annotations
- @Stable()
- Since
1.3.1
- case class StringStartsWith(attribute: String, value: String) extends Filter with Product with Serializable
A filter that evaluates to
trueiff the attribute evaluates to a string that starts withvalue.A filter that evaluates to
trueiff the attribute evaluates to a string that starts withvalue.- attribute
of the column to be evaluated;
dotsare used as separators for nested columns. If any part of the names containsdots, it is quoted to avoid confusion.
- Annotations
- @Stable()
- Since
1.3.1
Value Members
- object AlwaysFalse extends AlwaysFalse
- Annotations
- @Evolving()
- object AlwaysTrue extends AlwaysTrue
- Annotations
- @Evolving()