PipelineSource class
Chooses where a Pipeline reads its input from. Get one with
firestore.pipeline().
Preview, Enterprise only: the Pipelines API is experimental, may change in any release and needs a Firestore Enterprise edition database.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
collection(
Object collection, {String? forceIndex, Map< String, Object?> ? rawOptions}) → Pipeline -
Reads the documents of one collection: a slash-separated path
(
String) or a CollectionReference. -
collectionGroup(
String collectionId, {String? forceIndex, Map< String, Object?> ? rawOptions}) → Pipeline -
Reads the documents of every collection with the id
collectionId, wherever it is in the database. -
createFrom(
Query< Object?> query) → Pipeline -
Creates the pipeline that returns the same documents, in the same
order, as the classic
query. -
createFromAggregateQuery(
AggregateQuery aggregateQuery) → Pipeline -
Creates the pipeline that computes the aggregations of the classic
aggregateQuery(query.count(),query.aggregate(...)). -
createFromVectorQuery(
VectorQuery vectorQuery) → Pipeline -
Creates the pipeline that returns the same documents, nearest first, as
the classic vector query
vectorQuery(query.findNearest(...)). -
database(
{Map< String, Object?> ? rawOptions}) → Pipeline - Reads every document of the database.
-
documents(
List< Object> documents, {Map<String, Object?> ? rawOptions}) → Pipeline -
Reads the given documents: slash-separated paths (
String) or DocumentReferences. -
literals(
List< Map< documents, {Map<String, Object?> >String, Object?> ? rawOptions}) → Pipeline - Uses the given maps as the input, without reading the database. Values may be Expressions, also inside nested maps and lists.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subcollection(
String path, {Map< String, Object?> ? rawOptions}) → Pipeline -
Reads the documents of the subcollection
pathof the document that an enclosing pipeline is processing. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited