Packages

c

scalaql

WindowBuilder

class WindowBuilder[A] extends AnyRef

Entrypoint for defining a window function. Used inside an over clause when defining a windowed query: .over(_.partitionBy(_.country))

Example:

select[Person]
  .window(_.rowNumber)
  .over(_.partitionBy(_.country))
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WindowBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new WindowBuilder(partitions: List[(A) => Any], partitionTags: List[LightTypeTag])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. def partitionBy[B, C, D, E](f1: (A) => B, f2: (A) => C, f3: (A) => D, f4: (A) => E)(implicit arg0: scalaql.Tag[B], arg1: scalaql.Tag[C], arg2: scalaql.Tag[D], arg3: scalaql.Tag[E]): Window[A]

    Partitions the query output over four values.

    Partitions the query output over four values.

    B

    first partitioned value type

    C

    second partitioned value type

    D

    third partitioned value type

    E

    fourth partitioned value type

    f1

    get the first value for partitioning

    f2

    get the second value for partitioning

    f3

    get the third value for partitioning

    f4

    get the fourth value for partitioning

    returns

    window description

  16. def partitionBy[B, C, D](f1: (A) => B, f2: (A) => C, f3: (A) => D)(implicit arg0: scalaql.Tag[B], arg1: scalaql.Tag[C], arg2: scalaql.Tag[D]): Window[A]

    Partitions the query output over three values.

    Partitions the query output over three values.

    B

    first partitioned value type

    C

    second partitioned value type

    D

    third partitioned value type

    f1

    get the first value for partitioning

    f2

    get the second value for partitioning

    f3

    get the third value for partitioning

    returns

    window description

  17. def partitionBy[B, C](f1: (A) => B, f2: (A) => C)(implicit arg0: scalaql.Tag[B], arg1: scalaql.Tag[C]): Window[A]

    Partitions the query output over two values.

    Partitions the query output over two values.

    B

    first partitioned value type

    C

    second partitioned value type

    f1

    get the first value for partitioning

    f2

    get the second value for partitioning

    returns

    window description

  18. def partitionBy[B](f: (A) => B)(implicit arg0: scalaql.Tag[B]): Window[A]

    Partitions the query output over a single value.

    Partitions the query output over a single value.

    B

    partitioned value type

    f

    get value for partitioning

    returns

    window description

  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped