Packages

object WindowResolution

Utility object for resolving WindowExpression.

It ensures that window frame defintions and order specs are consistent between the WindowFunction and WindowSpecDefinition, throwing errors if configurations are incompatible or missing.

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

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 checkWindowFunction(windowExpression: WindowExpression): Unit
  6. def checkWindowFunctionAndFrameMismatch(windowExpression: WindowExpression): Unit
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. def resolveFrame(windowExpression: WindowExpression): WindowExpression

    Validates the window frame of a WindowExpression.

    Validates the window frame of a WindowExpression.

    It enforces that the frame in WindowExpression.windowFunction matches the frame in WindowExpression.windowSpec, alterantively it provides a default frame when it is unspecified.

  17. def resolveOrder(windowExpression: WindowExpression): WindowExpression

    Ensures that WindowExpression.windowSpec.orderSpec is not missing.

    Ensures that WindowExpression.windowSpec.orderSpec is not missing.

    In case of RankLike window functions, it attaches the resolved order to the function to finalize it.

  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. def validateResolvedWindowExpression(windowExpression: WindowExpression): Unit

    Validates a resolved WindowExpression to ensure it conforms to the allowed constraints.

    Validates a resolved WindowExpression to ensure it conforms to the allowed constraints.

    By checking the type and configuration of WindowExpression.windowFunction it enforces the following rules: - Disallows FrameLessOffsetWindowFunction (e.g. Lag) without defined ordering or one with a frame which is defined as something other than an offset frame (e.g. ROWS BETWEEN is logically incompatible with offset functions). - Disallows distinct aggregate expressions in window functions. - Disallows use of certain aggregate functions - ListAgg, PercentileCont, PercentileDisc, Median - Allows only window functions of following types:

    • AggregateExpression (non-distinct)
    • FrameLessOffsetWindowFunction
    • AggregateWindowFunction
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped