> Documentation index: https://firebase.google.com/docs/reference/llms.txt

# com.google.firebase.firestore.pipeline

## Classes

|---|---|
| `AbstractOptions` |   |
| `AggregateFunction` | A class that represents an aggregate function. |
| `AggregateHints` |   |
| `AggregateOptions` |   |
| `AggregateStage` | Performs optionally grouped aggregation operations on the documents from previous stages. |
| `AliasedAggregate` |   |
| `AliasedExpression` | Represents an expression that will be given the alias in the output document. |
| `AliasedWindowFunction` | A `WindowFunction` associated with an alias name. |
| `BooleanExpression` | A class that represents a filter condition. |
| `CollectionGroupOptions` |   |
| `CollectionGroupSource` |   |
| `CollectionHints` |   |
| `CollectionSource` |   |
| `CollectionSourceOptions` |   |
| `Expression` | Represents an expression that can be evaluated to a value within the execution of a `Pipeline`. |
| `Field` | Represents a reference to a field in a Firestore document. |
| `FindNearestOptions` |   |
| `FindNearestStage` | Performs a vector similarity search, ordering the result set by most similar to least similar, and returning the first N documents in the result set. |
| `FindNearestStage.DistanceMeasure` |   |
| `FunctionExpression` | This class defines the base class for Firestore `Pipeline` functions, which can be evaluated within pipeline execution. |
| `LiteralsSource` |   |
| `Ordering` | Represents an ordering criterion for sorting documents in a Firestore pipeline. |
| `RawOptions` |   |
| `RawStage` | Adds a stage to the pipeline by specifying the stage name as an argument. |
| `SampleStage` | Performs a pseudo-random sampling of the input documents. |
| `SampleStage.Mode` |   |
| `SearchStage` | The Search stage executes full-text search or geo search operations. |
| `Selectable` | Expressions that have an alias are `Selectable` |
| `Stage` |   |
| `SubcollectionSource` |   |
| `UnnestOptions` |   |
| `UnnestStage` | Takes a specified array from the input documents and outputs a document for each element with the element stored in a field with name specified by the alias. |
| `WindowBound` | A symbolic window frame boundary, as opposed to a numeric offset. |
| `WindowFunction` | A class that represents a window function. |
| `WindowSpec` | Specification defining how documents are partitioned, ordered, and bounded for window functions in `com.google.firebase.firestore.Pipeline.addWindowFields`. |

## Enums

|---|---|
| `Ordering.Direction` |   |