objectRangeFrame extends FrameType with Product with Serializable
RangeFrame treats rows in a partition as groups of peers.
All rows having the same ORDER BY ordering are considered as peers.
When a ValuePreceding or a ValueFollowing is used as its FrameBoundary,
the value is considered as a logical offset.
For example, assuming the value of the current row's ORDER BY expression expr is v,
RANGE BETWEEN 1 PRECEDING AND 1 FOLLOWING represents a frame containing rows whose values
expr are in the range of [v-1, v+1].
If ORDER BY clause is not defined, all rows in the partition is considered as peers
of the current row.
Linear Supertypes
Serializable, Serializable, Product, Equals, FrameType, AnyRef, Any
RangeFrame treats rows in a partition as groups of peers. All rows having the same
ORDER BY
ordering are considered as peers. When a ValuePreceding or a ValueFollowing is used as its FrameBoundary, the value is considered as a logical offset. For example, assuming the value of the current row'sORDER BY
expressionexpr
isv
,RANGE BETWEEN 1 PRECEDING AND 1 FOLLOWING
represents a frame containing rows whose valuesexpr
are in the range of [v-1, v+1].If
ORDER BY
clause is not defined, all rows in the partition is considered as peers of the current row.