final class SlidingWindowFunctionFrame extends WindowFunctionFrame
The sliding window frame calculates frames with the following SQL form: ... BETWEEN 1 PRECEDING AND 1 FOLLOWING
- Alphabetic
- By Inheritance
- SlidingWindowFunctionFrame
- WindowFunctionFrame
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SlidingWindowFunctionFrame(target: InternalRow, processor: AggregateProcessor, lbound: BoundOrdering, ubound: BoundOrdering)
- target
to write results to.
- processor
to calculate the row values with.
- lbound
comparator used to identify the lower bound of an output row.
- ubound
comparator used to identify the upper bound of an output row.
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()
- def currentLowerBound(): Int
The current lower window bound in the row array (inclusive).
The current lower window bound in the row array (inclusive).
This should be called after the current row is updated via
write
.- Definition Classes
- SlidingWindowFunctionFrame → WindowFunctionFrame
- def currentUpperBound(): Int
The current row index of the upper window bound in the row array (exclusive)
The current row index of the upper window bound in the row array (exclusive)
This should be called after the current row is updated via
write
.- Definition Classes
- SlidingWindowFunctionFrame → WindowFunctionFrame
- 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 prepare(rows: ExternalAppendOnlyUnsafeRowArray): Unit
Prepare the frame for calculating a new partition.
Prepare the frame for calculating a new partition. Reset all variables.
- rows
to calculate the frame results for.
- Definition Classes
- SlidingWindowFunctionFrame → WindowFunctionFrame
- 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()
- def write(index: Int, current: InternalRow): Unit
Write the frame columns for the current row to the given target row.
Write the frame columns for the current row to the given target row.
- Definition Classes
- SlidingWindowFunctionFrame → WindowFunctionFrame