class FrameLessOffsetWindowFunctionFrame extends OffsetWindowFunctionFrameBase
The frameless offset window frame is an internal window frame just used to optimize the performance for the window function that returns the value of the input column offset by a number of rows according to the current row. The internal window frame is not a popular window frame cannot be specified and used directly by the users. This window frame calculates frames containing LEAD/LAG statements.
- Alphabetic
- By Inheritance
- FrameLessOffsetWindowFunctionFrame
- OffsetWindowFunctionFrameBase
- WindowFunctionFrame
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new FrameLessOffsetWindowFunctionFrame(target: InternalRow, ordinal: Int, expressions: Array[OffsetWindowFunction], inputSchema: Seq[Attribute], newMutableProjection: (Seq[Expression], Seq[Attribute]) => MutableProjection, offset: Int, ignoreNulls: Boolean = false)
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
- OffsetWindowFunctionFrameBase → 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
- OffsetWindowFunctionFrameBase → WindowFunctionFrame
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val fillDefaultValue: MutableProjection
Create the projection used when the offset row DOES NOT exists.
Create the projection used when the offset row DOES NOT exists.
- Attributes
- protected
- Definition Classes
- OffsetWindowFunctionFrameBase
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def findNextRowWithNonNullInput(): Unit
find the offset row whose input is not null
find the offset row whose input is not null
- Attributes
- protected
- Definition Classes
- OffsetWindowFunctionFrameBase
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- var input: ExternalAppendOnlyUnsafeRowArray
Rows of the partition currently being processed.
Rows of the partition currently being processed.
- Attributes
- protected
- Definition Classes
- OffsetWindowFunctionFrameBase
- val inputAttrs: Seq[Attribute]
Attributes of the input row currently used for output.
Attributes of the input row currently used for output.
- Attributes
- protected
- Definition Classes
- OffsetWindowFunctionFrameBase
- var inputIndex: Int
Index of the input row currently used for output.
Index of the input row currently used for output.
- Attributes
- protected
- Definition Classes
- OffsetWindowFunctionFrameBase
- var inputIterator: Iterator[UnsafeRow]
An iterator over the input
An iterator over the input
- Attributes
- protected
- Definition Classes
- OffsetWindowFunctionFrameBase
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- var nextSelectedRow: InternalRow
Holder the UnsafeRow where the input operator by function is not null.
Holder the UnsafeRow where the input operator by function is not null.
- Attributes
- protected
- Definition Classes
- OffsetWindowFunctionFrameBase
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def nullCheck(row: InternalRow): Boolean
Check if the output value of the first index is null.
Check if the output value of the first index is null.
- Attributes
- protected
- Definition Classes
- OffsetWindowFunctionFrameBase
- def prepare(rows: ExternalAppendOnlyUnsafeRowArray): Unit
Prepare the frame for calculating the results for a partition.
Prepare the frame for calculating the results for a partition.
- rows
to calculate the frame results for.
- Definition Classes
- FrameLessOffsetWindowFunctionFrame → WindowFunctionFrame
- val project: UnsafeProjection
Create the projection to determine whether input is null.
Create the projection to determine whether input is null.
- Attributes
- protected
- Definition Classes
- OffsetWindowFunctionFrameBase
- val projection: MutableProjection
Create the projection used when the offset row exists.
Create the projection used when the offset row exists. Please note that this project always respect null input values (like PostgreSQL).
- Attributes
- protected
- Definition Classes
- OffsetWindowFunctionFrameBase
- def resetStates(rows: ExternalAppendOnlyUnsafeRowArray): Unit
- Attributes
- protected
- Definition Classes
- OffsetWindowFunctionFrameBase
- var skippedNonNullCount: Int
- Attributes
- protected
- Definition Classes
- OffsetWindowFunctionFrameBase
- 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 current results to the target row.
Write the current results to the target row.
- Definition Classes
- FrameLessOffsetWindowFunctionFrame → WindowFunctionFrame