object Dsl
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
Ordering
- Alphabetic
- By Inheritance
Inherited
- Dsl
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- case class BinaryColumn(columnPath: String) extends Column[Binary, predicate.Operators.BinaryColumn] with Product with Serializable
- case class BooleanColumn(columnPath: String) extends Column[Boolean, predicate.Operators.BooleanColumn] with Product with Serializable
- case class DoubleColumn(columnPath: String) extends Column[Double, predicate.Operators.DoubleColumn] with Product with Serializable
- case class FloatColumn(columnPath: String) extends Column[Float, predicate.Operators.FloatColumn] with Product with Serializable
- case class IntColumn(columnPath: String) extends Column[Integer, predicate.Operators.IntColumn] with Product with Serializable
- case class LongColumn(columnPath: String) extends Column[Long, predicate.Operators.LongColumn] with Product with Serializable
- class RichPredicate extends AnyRef
- class SupportsEqNotEq[T <: Comparable[T], C <: predicate.Operators.Column[T] with predicate.Operators.SupportsEqNotEq] extends AnyRef
- class SupportsLtGt[T <: Comparable[T], C <: predicate.Operators.Column[T] with predicate.Operators.SupportsLtGt] extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- implicit def enrichEqNotEq[T <: Comparable[T], C <: predicate.Operators.Column[T] with predicate.Operators.SupportsEqNotEq](column: Column[T, C]): SupportsEqNotEq[T, C]
- implicit def enrichLtGt[T <: Comparable[T], C <: predicate.Operators.Column[T] with predicate.Operators.SupportsLtGt](column: Column[T, C]): SupportsLtGt[T, C]
- implicit def enrichPredicate(pred: FilterPredicate): RichPredicate
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit def stringToBinary(s: String): Binary
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )