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(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.
|
ApiFuture<WriteResult> |
DocumentReference.delete(Precondition options)
Deletes the document referred to by this DocumentReference.
|
T |
UpdateBuilder.update(DocumentReference documentReference,
Map<String,Object> fields,
Precondition options)
Updates fields in the document referred to by this DocumentReference.
|
T |
UpdateBuilder.update(DocumentReference documentReference,
Precondition options,
FieldPath fieldPath,
Object value,
Object... moreFieldsAndValues)
Updates the fields in the document referred to by this DocumentReference.
|
T |
UpdateBuilder.update(DocumentReference documentReference,
Precondition options,
String field,
Object value,
Object... moreFieldsAndValues)
Updates the fields in the document referred to by this DocumentReference.
|
ApiFuture<WriteResult> |
DocumentReference.update(Map<String,Object> fields,
Precondition options)
Updates fields in the document referred to by this DocumentReference.
|
ApiFuture<WriteResult> |
DocumentReference.update(Precondition options,
FieldPath fieldPath,
Object value,
Object... moreFieldsAndValues)
Updates the fields in the document referred to by this DocumentReference.
|
ApiFuture<WriteResult> |
DocumentReference.update(Precondition options,
String field,
Object value,
Object... moreFieldsAndValues)
Updates the fields in the document referred to by this DocumentReference.
|
Copyright © 2019 Google LLC. All rights reserved.