Stage class

A single operation within a pipeline.

A stage is made up of a unique name, and a list of arguments. The exact number of arguments & types is dependent on the stage type. To give an example, the stage filter(state = "MD") would be encoded as: name: "filter" args { function_value { name: "eq" args { field_reference_value: "state" } args { string_value: "MD" } } } See public documentation for the full list.

Constructors

Stage({List<Value>? args, String? name, Map<String, Value>? options})
Stage.fromJson(Map json_)

Properties

args List<Value>?
Ordered list of arguments the given stage expects.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The name of the stage to evaluate.
getter/setter pair
options Map<String, Value>?
Optional named arguments that certain functions may support.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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