CollectionSourceOptions

class CollectionSourceOptions : AbstractOptions


Summary

Public constructors

Creates a new, empty CollectionSourceOptions object.

Public functions

CollectionSourceOptions

Specifies query hints for the collection source.

Inherited functions

From com.google.firebase.firestore.pipeline.AbstractOptions
CollectionSourceOptions
adding(newOptions: AbstractOptions<*>)
CollectionSourceOptions
with(key: String, subSection: AbstractOptions<*>)
CollectionSourceOptions
CollectionSourceOptions
with(key: String, value: Boolean)

Specify generic Boolean option

CollectionSourceOptions
with(key: String, value: Double)

Specify generic Double option

CollectionSourceOptions
with(key: String, value: Field)

Specify generic Field option

CollectionSourceOptions
with(key: String, value: InternalOptions)
CollectionSourceOptions
with(key: String, value: Long)

Specify generic Long option

CollectionSourceOptions
with(key: String, value: RawOptions)

Specify RawOptions object

CollectionSourceOptions
with(key: String, value: String)

Specify generic String option

CollectionSourceOptions
with(key: String, vararg values: String)

Public constructors

CollectionSourceOptions

CollectionSourceOptions()

Creates a new, empty CollectionSourceOptions object.

Public functions

withHints

fun withHints(hints: CollectionHints): CollectionSourceOptions

Specifies query hints for the collection source.

Parameters
hints: CollectionHints

The hints to apply to the collection source.

Returns
CollectionSourceOptions

A new CollectionSourceOptions with the specified hints.