Package | Description |
---|---|
com.google.cloud.firestore |
Modifier and Type | Method and Description |
---|---|
com.google.api.core.ApiFuture<List<WriteResult>> |
WriteBatch.commit()
Applies the current WriteBatch and returns an array with WriteResults.
|
com.google.api.core.ApiFuture<WriteResult> |
BulkWriter.create(DocumentReference documentReference,
Map<String,Object> fields)
Create a document with the provided data.
|
com.google.api.core.ApiFuture<WriteResult> |
BulkWriter.create(DocumentReference documentReference,
Object pojo)
Create a document with the provided data.
|
com.google.api.core.ApiFuture<WriteResult> |
DocumentReference.create(Map<String,Object> fields)
Creates a new Document at the DocumentReference's Location.
|
com.google.api.core.ApiFuture<WriteResult> |
DocumentReference.create(Object pojo)
Creates a new Document at the DocumentReference location.
|
com.google.api.core.ApiFuture<WriteResult> |
DocumentReference.delete()
Deletes the document referred to by this DocumentReference.
|
com.google.api.core.ApiFuture<WriteResult> |
BulkWriter.delete(DocumentReference documentReference)
Delete a document from the database.
|
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.
|
com.google.api.core.ApiFuture<WriteResult> |
BulkWriter.set(DocumentReference documentReference,
Map<String,Object> fields)
Write to the document referred to by the provided DocumentReference.
|
com.google.api.core.ApiFuture<WriteResult> |
BulkWriter.set(DocumentReference documentReference,
Map<String,Object> fields,
SetOptions options)
Write to the document referred to by the provided DocumentReference.
|
com.google.api.core.ApiFuture<WriteResult> |
BulkWriter.set(DocumentReference documentReference,
Object pojo)
Write to the document referred to by the provided DocumentReference.
|
com.google.api.core.ApiFuture<WriteResult> |
BulkWriter.set(DocumentReference documentReference,
Object pojo,
SetOptions options)
Write to the document referred to by the provided DocumentReference.
|
com.google.api.core.ApiFuture<WriteResult> |
DocumentReference.set(Map<String,Object> fields)
Overwrites the document referred to by this DocumentReference.
|
com.google.api.core.ApiFuture<WriteResult> |
DocumentReference.set(Map<String,Object> fields,
SetOptions options)
Writes to the document referred to by this DocumentReference.
|
com.google.api.core.ApiFuture<WriteResult> |
DocumentReference.set(Object pojo)
Overwrites the document referred to by this DocumentReference.
|
com.google.api.core.ApiFuture<WriteResult> |
DocumentReference.set(Object pojo,
SetOptions options)
Writes to the document referred to by this DocumentReference.
|
com.google.api.core.ApiFuture<WriteResult> |
BulkWriter.update(DocumentReference documentReference,
FieldPath fieldPath,
Object value,
Object... moreFieldsAndValues)
Update fields of the document referred to by the provided
DocumentReference . |
com.google.api.core.ApiFuture<WriteResult> |
BulkWriter.update(DocumentReference documentReference,
Map<String,Object> fields)
Update fields of the document referred to by the provided
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 . |
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 . |
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> |
BulkWriter.update(DocumentReference documentReference,
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(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(Map<String,Object> fields)
Updates 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.
|
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(String field,
Object value,
Object... moreFieldsAndValues)
Updates the fields in the document referred to by this DocumentReference.
|
Modifier and Type | Method and Description |
---|---|
void |
BulkWriter.WriteResultCallback.onResult(DocumentReference documentReference,
WriteResult result) |
Copyright © 2023 Google LLC. All rights reserved.