Package | Description |
---|---|
com.google.cloud.firestore |
Modifier and Type | Method and Description |
---|---|
static SetOptions |
SetOptions.merge()
Changes the behavior of set() calls to only replace the values specified in its data argument.
|
static SetOptions |
SetOptions.mergeFieldPaths(List<FieldPath> fields)
Changes the behavior of set() calls to only replace the fields under fieldPaths.
|
static SetOptions |
SetOptions.mergeFields(List<String> fields)
Changes the behavior of set() calls to only replace the fields under fieldPaths.
|
static SetOptions |
SetOptions.mergeFields(String... fields)
Changes the behavior of set() calls to only replace the fields under fieldPaths.
|
Modifier and Type | Method and Description |
---|---|
T |
UpdateBuilder.set(DocumentReference documentReference,
Map<String,Object> fields,
SetOptions options)
Overwrites the document referred to by this DocumentReference.
|
T |
UpdateBuilder.set(DocumentReference documentReference,
Object pojo,
SetOptions options)
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,
SetOptions options)
Writes to the document referred to by this DocumentReference.
|
Copyright © 2019 Google LLC. All rights reserved.