Package | Description |
---|---|
com.google.cloud.firestore |
Modifier and Type | Method and Description |
---|---|
static QuerySnapshot |
QuerySnapshot.withChanges(Query query,
com.google.cloud.Timestamp readTime,
com.google.cloud.firestore.DocumentSet documentSet,
List<DocumentChange> documentChanges)
Creates a new QuerySnapshot representing a snapshot of a Query with changed documents.
|
static QuerySnapshot |
QuerySnapshot.withDocuments(Query query,
com.google.cloud.Timestamp readTime,
List<QueryDocumentSnapshot> documents)
Creates a new QuerySnapshot representing the results of a Query with added documents.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.core.ApiFuture<QuerySnapshot> |
Query.get()
Executes the query and returns the results as QuerySnapshot.
|
com.google.api.core.ApiFuture<QuerySnapshot> |
Transaction.get(Query query)
Returns the result set from the provided query.
|
Modifier and Type | Method and Description |
---|---|
FirestoreBundle.Builder |
FirestoreBundle.Builder.add(String queryName,
QuerySnapshot querySnap)
Adds a Firestore query snapshot to the bundle.
|
Modifier and Type | Method and Description |
---|---|
ListenerRegistration |
Query.addSnapshotListener(EventListener<QuerySnapshot> listener)
Starts listening to this query.
|
ListenerRegistration |
Query.addSnapshotListener(Executor executor,
EventListener<QuerySnapshot> listener)
Starts listening to this query.
|
Copyright © 2023 Google LLC. All rights reserved.