Skip to content

OffsetWindowFunction Expressions

OffsetWindowFunction is an extension of the WindowFunction abstraction for offset-based window functions.

Contract

Default Expression

default: Expression

Used when:

  • FrameLessOffsetWindowFunction is requested to nullable, toString
  • OffsetWindowFunctionFrameBase is requested for fillDefaultValue

ignoreNulls

ignoreNulls: Boolean

Used when:

Input Expression

input: Expression

Input Expression

Used when:

  • FrameLessOffsetWindowFunction is requested to nullable, dataType, inputTypes, toString
  • OffsetWindowFunctionFrameBase is requested for projection, project

Offset Expression

offset: Expression

Offset (foldable) Expression

Used when:

  • OffsetWindowFunction is requested to fakeFrame
  • FrameLessOffsetWindowFunction is requested to checkInputDataTypes, toString

Implementations

  • FrameLessOffsetWindowFunction
  • NthValue