WindowSpec class

How Pipeline.addWindowFields groups and orders the inputs, and the default frame of its window functions.

Without frame, an unsorted window covers the whole partition and a sorted one runs from the start of the partition up to the inputs tied with the current one.

Beta: window functions are a preview feature of the server.

Preview, Enterprise only: the Pipelines API is experimental, may change in any release and needs a Firestore Enterprise edition database.

Constructors

WindowSpec({List<Object> partition = const <Object>[], List<Ordering> sort = const <Ordering>[], WindowFrame? frame})
A window over the partition keys (field names as Strings or expressions), ordered by sort, with the default frame.
const

Properties

frame → WindowFrame?
The frame of the window functions, or null for the default.
final
hashCode → int
The hash code for this object.
no setterinherited
partition → List<Object>
The keys that split the inputs into independent partitions.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sort → List<Ordering>
The order of the inputs inside a partition.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited