Uses of Class
com.google.cloud.firestore.DocumentSnapshot
Packages that use DocumentSnapshot
-
Uses of DocumentSnapshot in com.google.cloud.firestore
Subclasses of DocumentSnapshot in com.google.cloud.firestoreModifier and TypeClassDescriptionclassA QueryDocumentSnapshot contains data read from a document in a Firestore database as part of a query.Methods in com.google.cloud.firestore that return DocumentSnapshotModifier and TypeMethodDescriptionInternal.snapshotFromMap(String documentPath, Map<String, Object> data) Internal.snapshotFromObject(String documentPath, Object pojo) Internal.snapshotFromProto(com.google.cloud.Timestamp readTime, Document document) Methods in com.google.cloud.firestore that return types with arguments of type DocumentSnapshotModifier and TypeMethodDescriptioncom.google.api.core.ApiFuture<DocumentSnapshot>DocumentReference.get()Reads the document referenced by this DocumentReference.com.google.api.core.ApiFuture<DocumentSnapshot>Reads the document referenced by this DocumentReference.abstract com.google.api.core.ApiFuture<DocumentSnapshot>Transaction.get(DocumentReference documentRef) Reads the document referred to by the provided DocumentReference.com.google.api.core.ApiFuture<List<DocumentSnapshot>>Firestore.getAll(DocumentReference... documentReferences) Retrieves multiple documents from Firestore.com.google.api.core.ApiFuture<List<DocumentSnapshot>>Firestore.getAll(DocumentReference[] documentReferences, FieldMask fieldMask) Retrieves multiple documents from Firestore, while optionally applying a field mask to reduce the amount of data transmitted.abstract com.google.api.core.ApiFuture<List<DocumentSnapshot>>Transaction.getAll(DocumentReference... documentReferences) Retrieves multiple documents from Firestore.abstract com.google.api.core.ApiFuture<List<DocumentSnapshot>>Transaction.getAll(DocumentReference[] documentReferences, FieldMask fieldMask) Retrieves multiple documents from Firestore, while optionally applying a field mask to reduce the amount of data transmitted from the backend.Methods in com.google.cloud.firestore with parameters of type DocumentSnapshotModifier and TypeMethodDescriptionFirestoreBundle.Builder.add(DocumentSnapshot documentSnapshot) Adds a Firestore document snapshot to the bundle.Query.endAt(DocumentSnapshot snapshot) Creates and returns a new Query that ends at the provided document (inclusive).Query.endBefore(DocumentSnapshot snapshot) Creates and returns a new Query that ends before the provided document (exclusive).Internal.protoFromSnapshot(DocumentSnapshot snapshot) Query.startAfter(DocumentSnapshot snapshot) Creates and returns a new Query that starts after the provided document (exclusive).Query.startAt(DocumentSnapshot snapshot) Creates and returns a new Query that starts at the provided document (inclusive).Method parameters in com.google.cloud.firestore with type arguments of type DocumentSnapshotModifier and TypeMethodDescriptionDocumentReference.addSnapshotListener(EventListener<DocumentSnapshot> listener) Starts listening to the document referenced by this DocumentReference.DocumentReference.addSnapshotListener(Executor executor, EventListener<DocumentSnapshot> listener) Starts listening to the document referenced by this DocumentReference.com.google.api.core.ApiFuture<ExplainMetrics>Query.explainStream(ExplainOptions options, com.google.api.gax.rpc.ApiStreamObserver<DocumentSnapshot> documentObserver) Executes the query, streams the results as a StreamObserver of DocumentSnapshots, and returns an ApiFuture that will be resolved with the associatedExplainMetrics.voidFirestore.getAll(DocumentReference[] documentReferences, FieldMask fieldMask, com.google.api.gax.rpc.ApiStreamObserver<DocumentSnapshot> responseObserver) Retrieves multiple documents from Firestore while optionally applying a field mask to reduce the amount of data transmitted.voidQuery.stream(com.google.api.gax.rpc.ApiStreamObserver<DocumentSnapshot> responseObserver) Executes the query and streams the results as a StreamObserver of DocumentSnapshots.