Instead of using the methods in FilterApi directly in scala code,
use this Dsl instead. Example usage:
import parquet.filter2.dsl.Dsl._
val abc = IntColumn("a.b.c")
val xyz = DoubleColumn("x.y.z")
val myPredicate = !(abc > 10 && (xyz === 17 || ((xyz !== 13) && (xyz <= 20))))
Note that while the operators >, >=, <, <= all work, the == and != operators do not.
Using == or != will result in a runtime exception. Instead use === and !==
This is due to a limitation in overriding the the equals method.
Linear Supertypes
AnyRef, Any
Ordering
Alphabetic
By Inheritance
Inherited
Dsl
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
case classBinaryColumn(columnPath: String) extends Column[Binary, predicate.Operators.BinaryColumn] with Product with Serializable
case classBooleanColumn(columnPath: String) extends Column[Boolean, predicate.Operators.BooleanColumn] with Product with Serializable
case classDoubleColumn(columnPath: String) extends Column[Double, predicate.Operators.DoubleColumn] with Product with Serializable
case classFloatColumn(columnPath: String) extends Column[Float, predicate.Operators.FloatColumn] with Product with Serializable
case classIntColumn(columnPath: String) extends Column[Integer, predicate.Operators.IntColumn] with Product with Serializable
case classLongColumn(columnPath: String) extends Column[Long, predicate.Operators.LongColumn] with Product with Serializable
Instead of using the methods in FilterApi directly in scala code, use this Dsl instead. Example usage:
Note that while the operators >, >=, <, <= all work, the == and != operators do not. Using == or != will result in a runtime exception. Instead use === and !==
This is due to a limitation in overriding the the equals method.