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))
- Alphabetic
- By Inheritance
- WindowBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new WindowBuilder(partitions: List[(A) => Any], partitionTags: List[LightTypeTag])
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- 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()
- 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
- 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
- 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
- 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
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()