Share via


WindowSpec.RowsBetween(Int64, Int64) Method

Definition

Defines the frame boundaries, from start (inclusive) to end (inclusive).

public Microsoft.Spark.Sql.Expressions.WindowSpec RowsBetween (long start, long end);
member this.RowsBetween : int64 * int64 -> Microsoft.Spark.Sql.Expressions.WindowSpec
Public Function RowsBetween (start As Long, end As Long) As WindowSpec

Parameters

start
Int64

Boundary start, inclusive. The frame is unbounded if this is the minimum long value Window.s_unboundedPreceding.

end
Int64

Boundary end, inclusive. The frame is unbounded if this is the maximum long value Window.s_unboundedFollowing.

Returns

WindowSpec object

Applies to