# WindowFrameUnit

enum WindowFrameUnit : Enum<WindowFrameUnit>

Represents an SQL window function frame unit (also called mode).

## Entries

ROWS
Link copied to clipboard
ROWS

A frame unit based on a fixed amount of rows before and/or after the current row.

RANGE
Link copied to clipboard
RANGE

A frame unit consisting of a logical range of rows, based on their value compared to the current row value.

GROUPS
Link copied to clipboard
GROUPS

A frame unit based on a logical range of rows around the current row, but with a distinct value count.

## Properties

entries
Link copied to clipboard
val entries: EnumEntries<WindowFrameUnit>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int

## Functions

valueOf
Link copied to clipboard
fun valueOf(value: String): WindowFrameUnit

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values
Link copied to clipboard
fun values(): Array<WindowFrameUnit>

Returns an array containing the constants of this enum type, in the order they're declared.