Object

org.apache.parquet.filter2.dsl

Dsl

Related Doc: package dsl

Permalink

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
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Dsl
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class BinaryColumn(columnPath: String) extends Column[Binary, predicate.Operators.BinaryColumn] with Product with Serializable

    Permalink
  2. case class BooleanColumn(columnPath: String) extends Column[Boolean, predicate.Operators.BooleanColumn] with Product with Serializable

    Permalink
  3. case class DoubleColumn(columnPath: String) extends Column[Double, predicate.Operators.DoubleColumn] with Product with Serializable

    Permalink
  4. case class FloatColumn(columnPath: String) extends Column[Float, predicate.Operators.FloatColumn] with Product with Serializable

    Permalink
  5. case class IntColumn(columnPath: String) extends Column[Integer, predicate.Operators.IntColumn] with Product with Serializable

    Permalink
  6. case class LongColumn(columnPath: String) extends Column[Long, predicate.Operators.LongColumn] with Product with Serializable

    Permalink
  7. class RichPredicate extends AnyRef

    Permalink
  8. class SupportsEqNotEq[T <: Comparable[T], C <: predicate.Operators.Column[T] with predicate.Operators.SupportsEqNotEq] extends AnyRef

    Permalink
  9. class SupportsLtGt[T <: Comparable[T], C <: predicate.Operators.Column[T] with predicate.Operators.SupportsLtGt] extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. implicit def enrichEqNotEq[T <: Comparable[T], C <: predicate.Operators.Column[T] with predicate.Operators.SupportsEqNotEq](column: Column[T, C]): SupportsEqNotEq[T, C]

    Permalink
  7. implicit def enrichLtGt[T <: Comparable[T], C <: predicate.Operators.Column[T] with predicate.Operators.SupportsLtGt](column: Column[T, C]): SupportsLtGt[T, C]

    Permalink
  8. implicit def enrichPredicate(pred: FilterPredicate): RichPredicate

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. implicit def stringToBinary(s: String): Binary

    Permalink
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped