Packages

c

org.apache.spark.sql.execution.window

UnboundedWindowFunctionFrame

final class UnboundedWindowFunctionFrame extends WindowFunctionFrame

The unbounded window frame calculates frames with the following SQL forms: ... (No Frame Definition) ... BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING

Its results are the same for each and every row in the partition. This class can be seen as a special case of a sliding window, but is optimized for the unbound case.

Linear Supertypes
WindowFunctionFrame, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UnboundedWindowFunctionFrame
  2. WindowFunctionFrame
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new UnboundedWindowFunctionFrame(target: InternalRow, processor: AggregateProcessor)

    target

    to write results to.

    processor

    to calculate the row values with.

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. 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
    UnboundedWindowFunctionFrameWindowFunctionFrame
  7. 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
    UnboundedWindowFunctionFrameWindowFunctionFrame
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val lowerBound: Int
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def prepare(rows: ExternalAppendOnlyUnsafeRowArray): Unit

    Prepare the frame for calculating a new partition.

    Prepare the frame for calculating a new partition. Process all rows eagerly.

    rows

    to calculate the frame results for.

    Definition Classes
    UnboundedWindowFunctionFrameWindowFunctionFrame
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. var upperBound: Int
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. 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
    UnboundedWindowFunctionFrameWindowFunctionFrame

Inherited from WindowFunctionFrame

Inherited from AnyRef

Inherited from Any

Ungrouped