Uses of Class
com.google.cloud.firestore.Pipeline
Packages that use Pipeline
-
Uses of Pipeline in com.google.cloud.firestore
Methods in com.google.cloud.firestore that return PipelineModifier and TypeMethodDescriptionPipeline.addFields(Selectable field, Selectable... additionalFields) Adds new fields to outputs from previous stages.Pipeline.aggregate(AliasedAggregate... accumulators) Performs aggregation operations on the documents from previous stages.Performs optionally grouped aggregation operations on the documents from previous stages.Pipeline.aggregate(Aggregate aggregate, AggregateOptions options) PipelineSource.collection(CollectionReference ref) PipelineSource.collection(String path) Creates a newPipelinethat operates on the specified Firestore collection.PipelineSource.collection(String path, CollectionOptions options) PipelineSource.collectionGroup(String collectionId) Creates a newPipelinethat operates on all documents in a collection group.PipelineSource.collectionGroup(String collectionId, CollectionGroupOptions options) PipelineSource.createFrom(AggregateQuery query) Creates a newPipelinefrom the givenAggregateQuery.PipelineSource.createFrom(Query query) PipelineSource.database()Creates a newPipelinethat operates on all documents in the Firestore database.Pipeline.distinct(Selectable... selectables) Returns a set of distinctExpressionvalues from the inputs to this stage.Returns a set of distinct field values from the inputs to this stage.PipelineSource.documents(DocumentReference... docs) Creates a newPipelinethat operates on a specific set of Firestore documents.Creates a newPipelinethat operates on a specific set of Firestore documents.Pipeline.findNearest(Expression property, double[] vector, FindNearest.DistanceMeasure distanceMeasure, FindNearestOptions options) Performs vector distance (similarity) search with given parameters to the stage inputs.Pipeline.findNearest(String fieldName, double[] vector, FindNearest.DistanceMeasure distanceMeasure, FindNearestOptions options) Performs vector distance (similarity) search with given parameters to the stage inputs.Pipeline.limit(int limit) Limits the maximum number of documents returned by previous stages to `limit`.Pipeline.offset(int offset) Skips the first `offset` number of documents from the results of previous stages.Adds a generic stage to the pipeline.Pipeline.removeFields(Field field, Field... additionalFields) Remove fields from outputs of previous stages.Pipeline.removeFields(String field, String... additionalFields) Remove fields from outputs of previous stages.Pipeline.replaceWith(Expression expr) Fully overwrites all fields in a document with those coming from a nested map.Pipeline.replaceWith(String fieldName) Fully overwrites all fields in a document with those coming from a nested map.Pipeline.sample(int limit) Performs a pseudo-random sampling of the documents from the previous stage.Performs a pseudo-random sampling of the documents from the previous stage.Pipeline.select(Selectable selection, Selectable... additionalSelections) Selects or creates a set of fields from the outputs of previous stages.Selects a set of fields from the outputs of previous stages.Sorts the documents from previous stages based on one or moreOrderingcriteria.Performs union of all documents from two pipelines, including duplicates.Pipeline.unnest(Selectable expr) Produces a document for each element in array found in previous stage document.Pipeline.unnest(Selectable field, UnnestOptions options) Produces a document for each element in array found in previous stage document.Produces a document for each element in array found in previous stage document.Pipeline.unnest(String fieldName, String alias, UnnestOptions options) Produces a document for each element in array found in previous stage document.Pipeline.where(BooleanExpression condition) Filters the documents from previous stages to only include those matching the specifiedBooleanExpression.Methods in com.google.cloud.firestore with parameters of type PipelineModifier and TypeMethodDescriptionabstract com.google.api.core.ApiFuture<Pipeline.Snapshot>Executes the provided pipeline within the transaction context.abstract com.google.api.core.ApiFuture<Pipeline.Snapshot>Transaction.execute(Pipeline pipeline, PipelineExecuteOptions options) Executes the provided pipeline with specified options, within the transaction context.Performs union of all documents from two pipelines, including duplicates. -
Uses of Pipeline in com.google.cloud.firestore.pipeline.stages
Constructors in com.google.cloud.firestore.pipeline.stages with parameters of type Pipeline