PipelineResult class
One row produced by a pipeline.
A result is a document while the pipeline only filters, sorts and limits;
then ref, id, createTime and updateTime are set. After a stage that
builds new rows (select, aggregate, distinct, unnest, ...) a result
is a plain map and those are null.
The BSON types of Enterprise edition databases are returned as their value
classes (Int32Value, Decimal128Value, ...).
Preview, Enterprise only: the Pipelines API is experimental, may change in any release and needs a Firestore Enterprise edition database.
Properties
- createTime → Timestamp?
-
When the document was created, or null if this result is not a document.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The id of the document, or null if this result is not a document.
no setter
-
ref
→ DocumentReference<
Map< ?String, Object?> > -
The document this result was read from, or null if this result is not a
document.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updateTime → Timestamp?
-
When the document was last updated, or null if this result is not a
document.
final
Methods
-
data(
) → Map< String, Object?> - All fields of this result.
-
get(
Object field) → Object? -
The value of
field, a dot-separatedString, a FieldPath or a Field; null if the result has no such field. -
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