Package-level declarations

Types

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

The base of the option builders of the pipeline API (stage options, hints and execute options): immutable, each with returns a copy with the option set. Besides the typed options of each builder, with sets an option by name, as the backend knows it.

Link copied to clipboard

An aggregate function of the pipeline API, mirroring com.google.firebase.firestore.pipeline.AggregateFunction from the Firebase Android SDK: computed over the input documents (or over each group) by the aggregate stage; name the result with alias.

Link copied to clipboard

Hints of an aggregation.

Link copied to clipboard

The options of an aggregation.

Link copied to clipboard

An aggregation of the input documents, optionally by groups; created with withAccumulators.

Link copied to clipboard

An aggregate with an alias, the name of its value in the output documents; created with AggregateFunction.alias.

Link copied to clipboard

An expression with an alias, the name of its value in the output documents; created with Expression.alias.

Link copied to clipboard
abstract class BooleanExpression : Expression

An expression that evaluates to a boolean: a condition of the where stage, of conditional and of countIf.

Link copied to clipboard

The options of a collection group source; on Apple platforms only the forced index is supported (see CollectionSourceOptions).

Link copied to clipboard

The documents of every collection with an id, the source of com.google.firebase.firestore.PipelineSource.collectionGroup.

Link copied to clipboard

Index hints of a collection or collection group source; on Apple platforms only withForceIndex is supported.

Link copied to clipboard
Link copied to clipboard

The options of a collection source. On Apple platforms only the forced index (CollectionHints.withForceIndex) is supported; with any other option, executing the pipeline fails with UnsupportedOperationException.

Link copied to clipboard
abstract class Expression

An expression of the pipeline API, mirroring com.google.firebase.firestore.pipeline.Expression from the Firebase Android SDK: a field reference, a constant, or a function of the pipeline backend over other expressions. The functions of the companion object create them; the member functions apply the companion function of the same name to this expression, as its first argument. A function taking a field name instead of an expression applies to that field; a value of type Any becomes a constant (see constant).

Link copied to clipboard

A reference to a field of the input documents, created with Expression.field; as a Selectable its alias is the field path.

Link copied to clipboard

The options of a nearest-neighbour search.

Link copied to clipboard

A nearest-neighbour search of a vector field.

Link copied to clipboard

A function of the pipeline backend, by its name and arguments.

Link copied to clipboard

Literal documents, the source of com.google.firebase.firestore.PipelineSource.literals: each map is one input document, its values constants or expressions (also nested in maps and lists), converted when the pipeline is executed.

Link copied to clipboard
class Ordering

The order of a sort: an expression and a direction; created with Expression.ascending and Expression.descending.

Link copied to clipboard

Options by name, for an option of AbstractOptions.with that takes nested options; start from DEFAULT.

Link copied to clipboard

A stage by its backend name and arguments, for stages this SDK has no method for; created with ofName.

Link copied to clipboard

A random sample of the input documents; created with withDocLimit or withPercentage.

Link copied to clipboard

A full-text or geo search; created with withQuery. Beta in the Android SDK.

Link copied to clipboard
abstract class Selectable : Expression

An expression that names a field of the output documents of a stage: a Field, or an expression with an alias.

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

A stage of a Pipeline: immutable, withOption returns a copy with an option of the stage set.

Link copied to clipboard

The documents of a subcollection of each input document, the source of a subquery; created with of.

Link copied to clipboard
Link copied to clipboard

One output document per element of an array; created with withField.