Package-level declarations

Types

Link copied to clipboard
abstract class AbstractOptions<T : AbstractOptions<T>>

A set of options of the pipeline API, built by the with functions; T is the concrete options class, which they return.

Link copied to clipboard

An accumulator for aggregate stages: a function name and its arguments, as the Android SDK's AggregateFunction.

Link copied to clipboard

Hints for an aggregate stage.

Link copied to clipboard

Options of an aggregate stage.

Link copied to clipboard

Groups the documents by groups and computes accumulators over each group.

Link copied to clipboard
class AliasedAggregate(alias: String, aggregate: AggregateFunction)

An AggregateFunction whose result is named in an aggregate stage.

Link copied to clipboard

An Expression selected under an alias.

Link copied to clipboard
abstract class BooleanExpression : Expression

An Expression evaluating to a boolean, usable as a filter in where stages and in conditions.

Link copied to clipboard

Options of a collection group source stage.

Link copied to clipboard

All documents of the collections named collectionId, anywhere in the database.

Link copied to clipboard

Hints for a collection or collection group source stage.

Link copied to clipboard

All documents of a collection.

Link copied to clipboard

Options of a collection source stage.

Link copied to clipboard
abstract class Expression

An expression of the Firestore pipeline API: a field, a constant or a function of other expressions, built here and sent to the backend as part of a stage. Mirrors the Firebase Android SDK's Expression, whose static functions are the companion's.

Link copied to clipboard

A document field.

Link copied to clipboard

Options of a findNearest stage.

Link copied to clipboard

The documents whose vectorField is nearest to vectorValue by distanceMeasure.

Link copied to clipboard

A function applied to params, named as the backend knows it.

Link copied to clipboard
class Ordering(val expr: Expression, val dir: Ordering.Direction)

An ordering of a sort stage: expr in dir.

Link copied to clipboard

Options with no predefined keys, for with on any options class.

Link copied to clipboard

A stage the SDK has no class for, by name and arguments.

Link copied to clipboard

A random sample of the documents: a number of them, or a percentage.

Link copied to clipboard

A search over the documents, in preview.

Link copied to clipboard
abstract class Selectable : Expression

An expression that can be given an alias in select, addFields and similar stages.

Link copied to clipboard
abstract class Stage<T : Stage<T>>

A stage of a Pipeline; T is the concrete stage, which the withOption functions return.

Link copied to clipboard

The documents of a subcollection of each document of the enclosing pipeline, for union and unnest sub-pipelines.

Link copied to clipboard

Options of an unnest stage.

Link copied to clipboard

Replaces each document by one per element of an array field, the element under alias.