Package | Description |
---|---|
com.google.cloud.firestore |
Modifier and Type | Field and Description |
---|---|
static Precondition |
Precondition.NONE
An empty Precondition that adds no enforcements
|
Modifier and Type | Method and Description |
---|---|
static Precondition |
Precondition.updatedAt(com.google.cloud.Timestamp updateTime)
Creates a Precondition that enforces that the existing document was written at the specified
time.
|
Modifier and Type | Method and Description |
---|---|
T |
UpdateBuilder.delete(DocumentReference documentReference,
Precondition precondition)
Deletes the document referred to by this DocumentReference.
|
com.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.
|
T |
UpdateBuilder.update(DocumentReference documentReference,
Map<String,Object> fields,
Precondition precondition)
Updates fields in the document referred to by this DocumentReference.
|
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 provided
DocumentReference . |
T |
UpdateBuilder.update(DocumentReference documentReference,
Precondition precondition,
FieldPath fieldPath,
Object value,
Object... moreFieldsAndValues)
Updates the fields in 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 provided
DocumentReference . |
T |
UpdateBuilder.update(DocumentReference documentReference,
Precondition precondition,
String field,
Object value,
Object... moreFieldsAndValues)
Updates the fields in the document referred to by this DocumentReference.
|
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 provided
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.
|
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.
|
Copyright © 2023 Google LLC. All rights reserved.