Package-level declarations
Types
Where an aggregation is computed.
Binary data stored in a document, mirroring com.google.firebase.firestore.Blob from the Firebase Android SDK.
A collection, mirroring the Android SDK's CollectionReference: a Query over its documents that can also add to it.
A change to the results of a query, mirroring the Android SDK's DocumentChange.
The SDK's annotation; com.google.firebase.serialization.DocumentId is read on every platform.
A document location, mirroring com.google.firebase.firestore.DocumentReference from the Firebase Android SDK: the document may or may not exist; reads, writes and listeners are performed through it. A @Serializable class is written with the setData and updateData extensions, which map it through FirebaseFormat.Firestore on every platform; the SDK's set and update(Map), which map a class by reflection on Android, are deprecated with an error towards them.
The data of a document read from Firestore, mirroring com.google.firebase.firestore.DocumentSnapshot from the Firebase Android SDK. Field values are the Firestore types: Boolean, Long, Double, String, Timestamp, GeoPoint, Blob, DocumentReference, List and Map, as on Android; a document that does not exist has no data.
Receives the snapshots of a document or query, or the error that ended the listener.
The SDK's exclusion annotation; kotlinx.serialization.Transient excludes a property on every platform.
A sentinel written in place of a field value, mirroring com.google.firebase.firestore.FieldValue from the Firebase Android SDK: a server timestamp, a deletion or a transform of the current value.
The entry point of Cloud Firestore, mirroring com.google.firebase.firestore.FirebaseFirestore from the Firebase Android SDK: obtained per FirebaseApp and database with the static accessors (or the Firebase.firestore extensions), it creates references, batches and transactions and manages the network and the local cache.
The JS SDK's Firestore must be initialised with its settings (and connected to the emulator) before any use, so the underlying object is created on first use with the settings set until then, as the Android SDK's semantics require. Instances are cached per app and database, as the Android SDK's getInstance.
The JS SDK's Firestore must be initialised with its settings (and connected to the emulator) before any use, so the underlying object is created on first use with the settings set until then, as the Android SDK's semantics require. Instances are cached per app and database, as the Android SDK's getInstance.
The settings of a FirebaseFirestore, mirroring com.google.firebase.firestore.FirebaseFirestoreSettings from the Firebase Android SDK: built with Builder (or the firestoreSettings extension) and applied with FirebaseFirestore.firestoreSettings before the instance is used.
The SDK's annotation; com.google.firebase.serialization.IgnoreExtraProperties is read on every platform.
A registered snapshot listener; remove stops it.
Where a snapshot listener listens: the default (cache then backend) or the local cache only.
The loading of a bundle, mirroring the Android SDK's LoadBundleTask: a Task of the final LoadBundleTaskProgress that also reports intermediate progress to addOnProgressListener. Only created by FirebaseFirestore.loadBundle.
Created by the platform implementations of FirebaseFirestore.loadBundle as a LoadBundleTaskImpl.
The configuration of the local cache: PersistentCacheSettings or MemoryCacheSettings.
Eager garbage collection: documents are dropped as soon as no listener uses them; the Android SDK's MemoryEagerGcSettings.
How an in-memory cache is garbage collected: MemoryEagerGcSettings or MemoryLruGcSettings.
Least-recently-used garbage collection up to a size, the Android SDK's MemoryLruGcSettings.
Whether snapshot listeners are notified of metadata-only changes.
Receives the progress of a LoadBundleTask.
Manages the indexes of the persistent cache, mirroring the Android SDK's PersistentCacheIndexManager.
A persistent (on-disk) local cache, mirroring the Android SDK's PersistentCacheSettings; built with newBuilder.
A sequence of stages that transforms a set of documents; built from a PipelineSource and run with execute.
A row of a pipeline's results, over the iOS SDK's bridge.
A document, or a computed row, of a Pipeline.Snapshot.
A row of a pipeline's results, over the JS SDK's.
A row of a pipeline's results, over the JS SDK's.
The source stages a Pipeline can start from, from FirebaseFirestore.pipeline.
The SDK's property name annotation; kotlinx.serialization.SerialName names a property on every platform.
A query over the documents of a collection or collection group, mirroring com.google.firebase.firestore.Query from the Firebase Android SDK: immutable, every method returns a new query with the constraint added.
The results of a Query, mirroring the Android SDK's QuerySnapshot: the documents and the changes since the previous snapshot.
The SDK's annotation; com.google.firebase.serialization.ServerTimestamp is read on every platform.
How a set merges with an existing document, mirroring com.google.firebase.firestore.SetOptions from the Firebase Android SDK.
The options of a snapshot listener, mirroring the Android SDK's SnapshotListenOptions.
The metadata of a snapshot, mirroring the Android SDK's SnapshotMetadata.
The SDK's annotation; com.google.firebase.serialization.ThrowOnExtraProperties is read on every platform.
A transaction, mirroring com.google.firebase.firestore.Transaction from the Firebase Android SDK: the writes are applied atomically when the Function returns. Reads inside a transaction (get) are synchronous on Android, the JVM and Apple platforms and are declared in the nonJs source set, as the JS SDK only reads asynchronously.
The options of a transaction, mirroring the Android SDK's TransactionOptions.
A vector of doubles, mirroring com.google.firebase.firestore.VectorValue from the Firebase Android SDK; created with FieldValue.vector.
A batch of writes, mirroring com.google.firebase.firestore.WriteBatch from the Firebase Android SDK: applied atomically by commit.
Properties
The FirebaseFirestore of the default FirebaseApp; the Android SDK's Firebase.firestore.
Functions
The SDK's dataObjects flow; deprecated towards com.google.firebase.serialization.dataObjects.
The FirebaseFirestore of app.
The FirebaseFirestore of the default FirebaseApp for the named database.
The FirebaseFirestore of app for the named database.
FirebaseFirestoreSettings built with init, as the Android SDK's firestoreSettings.
The SDK's reified getField; deprecated towards com.google.firebase.serialization.getField.
Loads a Firestore bundle into the local cache as bundleData is read, closing it at the end; the kotlinx-io form of loadBundle(InputStream). On Android and the JVM the SDK reads the source as a stream, on Apple platforms as an NSInputStream and on JS through a ReadableStream, so a bundle streams on every platform.
MemoryCacheSettings built with init, as the Android SDK's memoryCacheSettings.
MemoryEagerGcSettings built with init, as the Android SDK's memoryEagerGcSettings.
MemoryLruGcSettings built with init, as the Android SDK's memoryLruGcSettings.
PersistentCacheSettings built with init, as the Android SDK's persistentCacheSettings.
The document and every change to it as a Flow, which fails if the listener fails.
The query results and every change to them as a Flow, which fails if the listener fails.
The SDK's reified toObject; deprecated towards com.google.firebase.serialization.toObject.
The SDK's reified toObjects; deprecated towards com.google.firebase.serialization.toObjects.