Uses of Class
com.google.cloud.firestore.Precondition
Packages that use Precondition
-
Uses of Precondition in com.google.cloud.firestore
Fields in com.google.cloud.firestore declared as PreconditionModifier and TypeFieldDescriptionstatic final PreconditionPrecondition.NONEAn empty Precondition that adds no enforcementsMethods in com.google.cloud.firestore that return PreconditionModifier and TypeMethodDescriptionstatic PreconditionPrecondition.updatedAt(com.google.cloud.Timestamp updateTime) Creates a Precondition that enforces that the existing document was written at the specified time.Methods in com.google.cloud.firestore with parameters of type PreconditionModifier and TypeMethodDescriptioncom.google.api.core.ApiFuture<WriteResult>BulkWriter.delete(DocumentReference documentReference, Precondition precondition) Delete a document from the database.com.google.api.core.ApiFuture<WriteResult>DocumentReference.delete(Precondition options) Deletes the document referred to by this DocumentReference.UpdateBuilder.delete(DocumentReference documentReference, Precondition precondition) Deletes the document referred to by this DocumentReference.com.google.api.core.ApiFuture<WriteResult>BulkWriter.update(DocumentReference documentReference, Precondition precondition, FieldPath fieldPath, Object value, Object... moreFieldsAndValues) Update fields of the document referred to by the providedDocumentReference.com.google.api.core.ApiFuture<WriteResult>BulkWriter.update(DocumentReference documentReference, Precondition precondition, String field, Object value, Object... moreFieldsAndValues) Update fields of the document referred to by the providedDocumentReference.com.google.api.core.ApiFuture<WriteResult>BulkWriter.update(DocumentReference documentReference, Map<String, Object> fields, Precondition precondition) Update fields of the document referred to by the providedDocumentReference.com.google.api.core.ApiFuture<WriteResult>DocumentReference.update(Precondition options, FieldPath fieldPath, Object value, Object... moreFieldsAndValues) Updates the fields in the document referred to by this DocumentReference.com.google.api.core.ApiFuture<WriteResult>DocumentReference.update(Precondition options, String field, Object value, Object... moreFieldsAndValues) Updates the fields in the document referred to by this DocumentReference.com.google.api.core.ApiFuture<WriteResult>DocumentReference.update(Map<String, Object> fields, Precondition options) Updates fields in the document referred to by this DocumentReference.UpdateBuilder.update(DocumentReference documentReference, Precondition precondition, FieldPath fieldPath, Object value, Object... moreFieldsAndValues) Updates the fields in the document referred to by this DocumentReference.UpdateBuilder.update(DocumentReference documentReference, Precondition precondition, String field, Object value, Object... moreFieldsAndValues) Updates the fields in the document referred to by this DocumentReference.UpdateBuilder.update(DocumentReference documentReference, Map<String, Object> fields, Precondition precondition) Updates fields in the document referred to by this DocumentReference.