@API.Public @API.NotThreadSafe public interface DocumentMutation extends Iterable<MutationOp>, Container, JsonString
set()
setOrReplace()
setOrReplace("a.b.c", (int) 10)
In this example, if the Document stored in the DocumentStore has an empty MAP
field "a"
, then a setOrReplace of "a.b.c"
will create a field
"b"
of type MAP under "a"
. It will also create an field named
"c"
of type INTEGER under "b"
and set its value to 10.If the Document stored in the DocumentStore has a field "a" of type array. This operation will delete "a", create new field "a" of type map, add a MAP field "b" under "a" and finally create an INTEGER field "c" with value 10 under "b".setOrReplace("a.b.c", (int) 10)
append()
"a.b.c"
will
fail if, on the document store, the field "a"
itself is an ARRAY or INTEGER.
merge()
"a.b.c"
will fail if, on the document store, the field "a"
itself is an ARRAY or INTEGER.
increment()
Modifier and Type | Field and Description |
---|---|
static String |
MUTATION
OJAI field name for the
DocumentMutation object. |
Modifier and Type | Method and Description |
---|---|
DocumentMutation |
append(FieldPath path,
byte[] value)
Appends the given byte array to an existing BINARY value at the given FieldPath.
|
DocumentMutation |
append(FieldPath path,
byte[] value,
int offset,
int len)
Appends the given byte array to an existing BINARY value at the given FieldPath.
|
DocumentMutation |
append(FieldPath path,
ByteBuffer value)
Appends the given ByteBuffer to an existing BINARY value at the given FieldPath.
|
DocumentMutation |
append(FieldPath path,
List<? extends Object> list)
Appends elements of the given list to an existing ARRAY at the given FieldPath.
|
DocumentMutation |
append(FieldPath path,
String string)
Appends the given string to an existing STRING at the given FieldPath.
|
DocumentMutation |
append(String path,
byte[] value)
Appends the given byte array to an existing BINARY value at the given FieldPath.
|
DocumentMutation |
append(String path,
byte[] value,
int offset,
int len)
Appends the given byte array to an existing BINARY value at the given FieldPath.
|
DocumentMutation |
append(String path,
ByteBuffer value)
Appends the given ByteBuffer to an existing BINARY value at the given FieldPath.
|
DocumentMutation |
append(String path,
List<? extends Object> list)
Appends elements of the given list to an existing ARRAY at the given FieldPath.
|
DocumentMutation |
append(String path,
String string)
Appends the given string to an existing STRING at the given FieldPath.
|
DocumentMutation |
decrement(FieldPath path,
BigDecimal dec) |
DocumentMutation |
decrement(FieldPath path,
byte dec)
Atomically decrements the given field (in dot separated notation)
of the given row id.
|
DocumentMutation |
decrement(FieldPath path,
double dec) |
DocumentMutation |
decrement(FieldPath path,
float dec) |
DocumentMutation |
decrement(FieldPath path,
int dec) |
DocumentMutation |
decrement(FieldPath path,
long dec) |
DocumentMutation |
decrement(FieldPath path,
short dec) |
DocumentMutation |
decrement(String path,
BigDecimal dec) |
DocumentMutation |
decrement(String path,
byte dec) |
DocumentMutation |
decrement(String path,
double dec) |
DocumentMutation |
decrement(String path,
float dec) |
DocumentMutation |
decrement(String path,
int dec) |
DocumentMutation |
decrement(String path,
long dec) |
DocumentMutation |
decrement(String path,
short dec) |
DocumentMutation |
delete(FieldPath path)
Deletes the field at the given path.
|
DocumentMutation |
delete(String path)
Deletes the field at the given path.
|
DocumentMutation |
empty()
Empties this DocumentMutation object.
|
DocumentMutation |
increment(FieldPath path,
BigDecimal inc)
Atomically increment the existing value at given the FieldPath by the given value.
|
DocumentMutation |
increment(FieldPath path,
byte inc)
Atomically increment the existing value at given the FieldPath by the given value.
|
DocumentMutation |
increment(FieldPath path,
double inc)
Atomically increment the existing value at given the FieldPath by the given value.
|
DocumentMutation |
increment(FieldPath path,
float inc)
Atomically increment the field specified by the FieldPath by the given value.
|
DocumentMutation |
increment(FieldPath path,
int inc)
Atomically increment the existing value at given the FieldPath by the given value.
|
DocumentMutation |
increment(FieldPath path,
long inc)
Atomically increment the existing value at given the FieldPath by the given value.
|
DocumentMutation |
increment(FieldPath path,
short inc)
Atomically increment the existing value at given the FieldPath by the given value.
|
DocumentMutation |
increment(String path,
BigDecimal inc)
Atomically increment the existing value at given the FieldPath by the given value.
|
DocumentMutation |
increment(String path,
byte inc)
Atomically increment the existing value at given the FieldPath by the given value.
|
DocumentMutation |
increment(String path,
double inc) |
DocumentMutation |
increment(String path,
float inc)
Atomically increment the existing value at given the FieldPath by the given value.
|
DocumentMutation |
increment(String path,
int inc)
Atomically increment the existing value at given the FieldPath by the given value.
|
DocumentMutation |
increment(String path,
long inc)
Atomically increment the existing value at given the FieldPath by the given value.
|
DocumentMutation |
increment(String path,
short inc)
Atomically increment the existing value at given the FieldPath by the given value.
|
DocumentMutation |
merge(FieldPath path,
Document doc)
Merges the existing MAP at the given FieldPath with the specified Document.
|
DocumentMutation |
merge(FieldPath path,
Map<String,Object> map)
Merges the existing MAP at the given FieldPath with the specified Map.
|
DocumentMutation |
merge(String path,
Document doc)
Merges the existing MAP at the given FieldPath with the specified Document.
|
DocumentMutation |
merge(String path,
Map<String,Object> map)
Merges the existing MAP at the given FieldPath with the specified Map.
|
DocumentMutation |
set(FieldPath path,
BigDecimal bd)
Sets the field at the given FieldPath to the specified
BigDecimal value. |
DocumentMutation |
set(FieldPath path,
boolean b)
Sets the field at the given FieldPath to the specified
boolean value. |
DocumentMutation |
set(FieldPath path,
byte b)
Sets the field at the given FieldPath to the specified
byte value. |
DocumentMutation |
set(FieldPath path,
ByteBuffer bb)
Sets the field at the given FieldPath to the specified
ByteBuffer . |
DocumentMutation |
set(FieldPath path,
Document doc)
Sets the field at the given FieldPath to the specified
Document . |
DocumentMutation |
set(FieldPath path,
double d)
Sets the field at the given FieldPath to the specified
double value. |
DocumentMutation |
set(FieldPath path,
float f)
Sets the field at the given FieldPath to the specified
float value. |
DocumentMutation |
set(FieldPath path,
int i)
Sets the field at the given FieldPath to the specified
int value. |
DocumentMutation |
set(FieldPath path,
List<? extends Object> list)
Sets the field at the given FieldPath to the specified
List . |
DocumentMutation |
set(FieldPath path,
long l)
Sets the field at the given FieldPath to the specified
long value. |
DocumentMutation |
set(FieldPath path,
Map<String,? extends Object> map)
Sets the field at the given FieldPath to the specified
Map . |
DocumentMutation |
set(FieldPath path,
ODate d)
Sets the field at the given FieldPath to the specified
Date value. |
DocumentMutation |
set(FieldPath path,
OInterval intv)
Sets the field at the given FieldPath to the specified
Interval value. |
DocumentMutation |
set(FieldPath path,
OTime t)
Sets the field at the given FieldPath to the specified
Time value. |
DocumentMutation |
set(FieldPath path,
OTimestamp ts)
Sets the field at the given FieldPath to the specified
Timestamp value. |
DocumentMutation |
set(FieldPath path,
short s)
Sets the field at the given FieldPath to the specified
short value. |
DocumentMutation |
set(FieldPath path,
String value)
Sets the field at the given FieldPath to the specified
String value. |
DocumentMutation |
set(FieldPath path,
Value value)
Sets the field at the given FieldPath to the specified value.
|
DocumentMutation |
set(String path,
BigDecimal bd)
Sets the field at the given FieldPath to the specified
BigDecimal value. |
DocumentMutation |
set(String path,
boolean b)
Sets the field at the given FieldPath to the specified
boolean value. |
DocumentMutation |
set(String path,
byte b)
Sets the field at the given FieldPath to the specified
byte value. |
DocumentMutation |
set(String path,
ByteBuffer bb)
Sets the field at the given FieldPath to the specified
ByteBuffer . |
DocumentMutation |
set(String path,
Document doc)
Sets the field at the given FieldPath to the specified
Document . |
DocumentMutation |
set(String path,
double d)
Sets the field at the given FieldPath to the specified
double value. |
DocumentMutation |
set(String path,
float f)
Sets the field at the given FieldPath to the specified
float value. |
DocumentMutation |
set(String path,
int i)
Sets the field at the given FieldPath to the specified
int value. |
DocumentMutation |
set(String path,
List<? extends Object> list)
Sets the field at the given FieldPath to the specified
List . |
DocumentMutation |
set(String path,
long l)
Sets the field at the given FieldPath to the specified
long value. |
DocumentMutation |
set(String path,
Map<String,? extends Object> map)
Sets the field at the given FieldPath to the specified
Map . |
DocumentMutation |
set(String path,
ODate d)
Sets the field at the given FieldPath to the specified
Date value. |
DocumentMutation |
set(String path,
OInterval intv)
Sets the field at the given FieldPath to the specified
Interval value. |
DocumentMutation |
set(String path,
OTime t)
Sets the field at the given FieldPath to the specified
Time value. |
DocumentMutation |
set(String path,
OTimestamp ts)
Sets the field at the given FieldPath to the specified
Timestamp value. |
DocumentMutation |
set(String path,
short s)
Sets the field at the given FieldPath to the specified
short value. |
DocumentMutation |
set(String path,
String value)
Sets the field at the given FieldPath to the specified
String value. |
DocumentMutation |
set(String path,
Value value)
Sets the field at the given FieldPath to the specified value.
|
DocumentMutation |
setNull(FieldPath path)
Sets the field at the given FieldPath to
NULL Value. |
DocumentMutation |
setNull(String path)
Sets the field at the given FieldPath to
NULL Value. |
DocumentMutation |
setOrReplace(FieldPath path,
BigDecimal bd)
Sets or replaces the field at the given FieldPath to the specified
BigDecimal value. |
DocumentMutation |
setOrReplace(FieldPath path,
boolean b)
Sets or replaces the field at the given FieldPath to the specified
boolean value. |
DocumentMutation |
setOrReplace(FieldPath path,
byte b)
Sets or replaces the field at the given FieldPath to the specified
byte value. |
DocumentMutation |
setOrReplace(FieldPath path,
ByteBuffer bb)
Sets or replaces the field at the given FieldPath to the specified
ByteBuffer . |
DocumentMutation |
setOrReplace(FieldPath path,
Document doc)
Sets or replaces the field at the given FieldPath to the specified
Document . |
DocumentMutation |
setOrReplace(FieldPath path,
double d)
Sets or replaces the field at the given FieldPath to the specified
double value. |
DocumentMutation |
setOrReplace(FieldPath path,
float f)
Sets or replaces the field at the given FieldPath to the specified
float value. |
DocumentMutation |
setOrReplace(FieldPath path,
int i)
Sets or replaces the field at the given FieldPath to the specified
int value. |
DocumentMutation |
setOrReplace(FieldPath path,
List<? extends Object> list)
Sets or replaces the field at the given FieldPath to the specified
List . |
DocumentMutation |
setOrReplace(FieldPath path,
long l)
Sets or replaces the field at the given FieldPath to the specified
long value. |
DocumentMutation |
setOrReplace(FieldPath path,
Map<String,? extends Object> map)
Sets or replaces the field at the given FieldPath to the specified
Map . |
DocumentMutation |
setOrReplace(FieldPath path,
ODate d)
Sets or replaces the field at the given FieldPath to the specified
Date value. |
DocumentMutation |
setOrReplace(FieldPath path,
OInterval intv)
Sets or replaces the field at the given FieldPath to the specified
Interval . |
DocumentMutation |
setOrReplace(FieldPath path,
OTime t)
Sets or replaces the field at the given FieldPath to the specified
Time value. |
DocumentMutation |
setOrReplace(FieldPath path,
OTimestamp ts)
Sets or replaces the field at the given FieldPath to the specified
Timestamp value. |
DocumentMutation |
setOrReplace(FieldPath path,
short s)
Sets or replaces the field at the given FieldPath to the specified
short value. |
DocumentMutation |
setOrReplace(FieldPath path,
String string)
Sets or replaces the field at the given FieldPath to the specified
String value. |
DocumentMutation |
setOrReplace(FieldPath path,
Value value)
Sets or replaces the field at the given FieldPath to the new value.
|
DocumentMutation |
setOrReplace(String path,
BigDecimal bd)
Sets or replaces the field at the given FieldPath to the specified
BigDecimal value. |
DocumentMutation |
setOrReplace(String path,
boolean b)
Sets or replaces the field at the given FieldPath to the specified
boolean value. |
DocumentMutation |
setOrReplace(String path,
byte b)
Sets or replaces the field at the given FieldPath to the specified
byte value. |
DocumentMutation |
setOrReplace(String path,
ByteBuffer bb)
Sets or replaces the field at the given FieldPath to the specified
ByteBuffer . |
DocumentMutation |
setOrReplace(String path,
Document doc)
Sets or replaces the field at the given FieldPath to the specified
Document . |
DocumentMutation |
setOrReplace(String path,
double d)
Sets or replaces the field at the given FieldPath to the specified
double value. |
DocumentMutation |
setOrReplace(String path,
float f)
Sets or replaces the field at the given FieldPath to the specified
float value. |
DocumentMutation |
setOrReplace(String path,
int i)
Sets or replaces the field at the given FieldPath to the specified
int value. |
DocumentMutation |
setOrReplace(String path,
List<? extends Object> list)
Sets or replaces the field at the given FieldPath to the specified
List . |
DocumentMutation |
setOrReplace(String path,
long l)
Sets or replaces the field at the given FieldPath to the specified
long value. |
DocumentMutation |
setOrReplace(String path,
Map<String,? extends Object> map)
Sets or replaces the field at the given FieldPath to the specified
Map . |
DocumentMutation |
setOrReplace(String path,
ODate d)
Sets or replaces the field at the given FieldPath to the specified
Date value. |
DocumentMutation |
setOrReplace(String path,
OInterval intv)
Sets or replaces the field at the given FieldPath to the specified
Interval . |
DocumentMutation |
setOrReplace(String path,
OTime t)
Sets or replaces the field at the given FieldPath to the specified
Time value. |
DocumentMutation |
setOrReplace(String path,
OTimestamp ts)
Sets or replaces the field at the given FieldPath to the specified
Timestamp value. |
DocumentMutation |
setOrReplace(String path,
short s)
Sets or replaces the field at the given FieldPath to the specified
short value. |
DocumentMutation |
setOrReplace(String path,
String string)
Sets or replaces the field at the given FieldPath to the specified
String value. |
DocumentMutation |
setOrReplace(String path,
Value value)
Sets or replaces the field at the given FieldPath to the new value.
|
DocumentMutation |
setOrReplaceNull(FieldPath path)
Sets or replaces the field at the given FieldPath to
NULL Value. |
DocumentMutation |
setOrReplaceNull(String path)
Sets or replaces the field at the given FieldPath to
NULL Value. |
forEach, iterator, spliterator
isEmpty, isReadOnly, size
asJsonString, asJsonString
static final String MUTATION
DocumentMutation
object.DocumentMutation empty()
DocumentMutation setNull(@API.NonNullable String path)
NULL
Value.path
- path of the field that needs to be updatedthis
for chained invocationDocumentMutation setNull(@API.NonNullable FieldPath path)
NULL
Value.path
- path of the field that needs to be updatedthis
for chained invocationDocumentMutation set(@API.NonNullable String path, @API.NonNullable Value value)
path
- path of the field that needs to be updatedvalue
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable FieldPath path, @API.NonNullable Value value)
path
- path of the field that needs to be updatedvalue
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable String path, boolean b)
boolean
value.path
- path of the field that needs to be updatedb
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable FieldPath path, boolean b)
boolean
value.path
- path of the field that needs to be updatedb
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable String path, byte b)
byte
value.path
- path of the field that needs to be updatedb
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable FieldPath path, byte b)
byte
value.path
- path of the field that needs to be updatedb
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable String path, short s)
short
value.path
- path of the field that needs to be updateds
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable FieldPath path, short s)
short
value.path
- path of the field that needs to be updateds
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable String path, int i)
int
value.path
- path of the field that needs to be updatedi
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable FieldPath path, int i)
int
value.path
- path of the field that needs to be updatedi
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable String path, long l)
long
value.path
- path of the field that needs to be updatedl
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable FieldPath path, long l)
long
value.path
- path of the field that needs to be updatedl
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable String path, float f)
float
value.path
- path of the field that needs to be updatedf
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable FieldPath path, float f)
float
value.path
- path of the field that needs to be updatedf
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable String path, double d)
double
value.path
- path of the field that needs to be updatedd
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable FieldPath path, double d)
double
value.path
- path of the field that needs to be updatedd
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable String path, @API.NonNullable String value)
String
value.path
- path of the field that needs to be updatedvalue
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable FieldPath path, @API.NonNullable String value)
String
value.path
- path of the field that needs to be updatedvalue
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable String path, @API.NonNullable BigDecimal bd)
BigDecimal
value.path
- path of the field that needs to be updatedbd
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable FieldPath path, @API.NonNullable BigDecimal bd)
BigDecimal
value.path
- path of the field that needs to be updatedbd
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable String path, @API.NonNullable ODate d)
Date
value.path
- path of the field that needs to be updatedd
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable FieldPath path, @API.NonNullable ODate d)
Date
value.path
- path of the field that needs to be updatedd
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable String path, @API.NonNullable OTime t)
Time
value.path
- path of the field that needs to be updatedt
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable FieldPath path, @API.NonNullable OTime t)
Time
value.path
- path of the field that needs to be updatedt
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable String path, @API.NonNullable OTimestamp ts)
Timestamp
value.path
- path of the field that needs to be updatedts
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable FieldPath path, @API.NonNullable OTimestamp ts)
Timestamp
value.path
- path of the field that needs to be updatedts
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable String path, @API.NonNullable OInterval intv)
Interval
value.path
- path of the field that needs to be updatedintv
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable FieldPath path, @API.NonNullable OInterval intv)
Interval
value.path
- path of the field that needs to be updatedintv
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable String path, @API.NonNullable ByteBuffer bb)
ByteBuffer
.path
- path of the field that needs to be updatedbb
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable FieldPath path, @API.NonNullable ByteBuffer bb)
ByteBuffer
.path
- path of the field that needs to be updatedbb
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable String path, @API.NonNullable List<? extends Object> list)
List
.path
- path of the field that needs to be updatedlist
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable FieldPath path, @API.NonNullable List<? extends Object> list)
List
.path
- path of the field that needs to be updatedlist
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable String path, @API.NonNullable Map<String,? extends Object> map)
Map
.path
- path of the field that needs to be updatedmap
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable FieldPath path, @API.NonNullable Map<String,? extends Object> map)
Map
.path
- path of the field that needs to be updatedmap
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable String path, @API.NonNullable Document doc)
Document
.path
- path of the field that needs to be updateddoc
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation set(@API.NonNullable FieldPath path, @API.NonNullable Document doc)
Document
.path
- path of the field that needs to be updateddoc
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplaceNull(@API.NonNullable String path)
NULL
Value.path
- FieldPath in the document that needs to be updatedthis
for chained invocationDocumentMutation setOrReplaceNull(@API.NonNullable FieldPath path)
NULL
Value.path
- FieldPath in the document that needs to be updatedthis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable String path, @API.NonNullable Value value)
path
- FieldPath in the document that needs to be updatedvalue
- the new value to set or replace at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable FieldPath path, @API.NonNullable Value value)
path
- FieldPath in the document that needs to be updatedvalue
- the new value to set or replace at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable String path, boolean b)
boolean
value.path
- path of the field that needs to be updatedb
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable FieldPath path, boolean b)
boolean
value.path
- path of the field that needs to be updatedb
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable String path, byte b)
byte
value.path
- path of the field that needs to be updatedb
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable FieldPath path, byte b)
byte
value.path
- path of the field that needs to be updatedb
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable String path, short s)
short
value.path
- path of the field that needs to be updateds
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable FieldPath path, short s)
short
value.path
- path of the field that needs to be updateds
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable String path, int i)
int
value.path
- path of the field that needs to be updatedi
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable FieldPath path, int i)
int
value.path
- path of the field that needs to be updatedi
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable String path, long l)
long
value.path
- path of the field that needs to be updatedl
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable FieldPath path, long l)
long
value.path
- path of the field that needs to be updatedl
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable String path, float f)
float
value.path
- path of the field that needs to be updatedf
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable FieldPath path, float f)
float
value.path
- path of the field that needs to be updatedf
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable String path, double d)
double
value.path
- path of the field that needs to be updatedd
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable FieldPath path, double d)
double
value.path
- path of the field that needs to be updatedd
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable String path, @API.NonNullable String string)
String
value.path
- path of the field that needs to be updatedstring
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable FieldPath path, @API.NonNullable String string)
String
value.path
- path of the field that needs to be updatedstring
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable String path, @API.NonNullable BigDecimal bd)
BigDecimal
value.path
- path of the field that needs to be updatedbd
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable FieldPath path, @API.NonNullable BigDecimal bd)
BigDecimal
value.path
- path of the field that needs to be updatedbd
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable String path, @API.NonNullable ODate d)
Date
value.path
- path of the field that needs to be updatedd
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable FieldPath path, @API.NonNullable ODate d)
Date
value.path
- path of the field that needs to be updatedd
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable String path, @API.NonNullable OTime t)
Time
value.path
- path of the field that needs to be updatedt
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable FieldPath path, @API.NonNullable OTime t)
Time
value.path
- path of the field that needs to be updatedt
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable String path, @API.NonNullable OTimestamp ts)
Timestamp
value.path
- path of the field that needs to be updatedts
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable FieldPath path, @API.NonNullable OTimestamp ts)
Timestamp
value.path
- path of the field that needs to be updatedts
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable String path, @API.NonNullable OInterval intv)
Interval
.path
- path of the field that needs to be updatedintv
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable FieldPath path, @API.NonNullable OInterval intv)
Interval
.path
- path of the field that needs to be updatedintv
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable String path, @API.NonNullable ByteBuffer bb)
ByteBuffer
.path
- path of the field that needs to be updatedbb
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable FieldPath path, @API.NonNullable ByteBuffer bb)
ByteBuffer
.path
- path of the field that needs to be updatedbb
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable String path, @API.NonNullable List<? extends Object> list)
List
.path
- path of the field that needs to be updatedlist
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable FieldPath path, @API.NonNullable List<? extends Object> list)
List
.path
- path of the field that needs to be updatedlist
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable String path, @API.NonNullable Map<String,? extends Object> map)
Map
.path
- path of the field that needs to be updatedmap
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable FieldPath path, @API.NonNullable Map<String,? extends Object> map)
Map
.path
- path of the field that needs to be updatedmap
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable String path, @API.NonNullable Document doc)
Document
.path
- path of the field that needs to be updateddoc
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation setOrReplace(@API.NonNullable FieldPath path, @API.NonNullable Document doc)
Document
.path
- path of the field that needs to be updateddoc
- the new value to set at the FieldPaththis
for chained invocationDocumentMutation append(@API.NonNullable String path, @API.NonNullable List<? extends Object> list)
path
- path of the field that needs to be appendedlist
- the List to append at the FieldPaththis
for chained invocationDocumentMutation append(@API.NonNullable FieldPath path, @API.NonNullable List<? extends Object> list)
path
- path of the field that needs to be appendedlist
- the List to append at the FieldPaththis
for chained invocationDocumentMutation append(@API.NonNullable String path, @API.NonNullable String string)
path
- path of the field that needs to be appendedstring
- the String to append at the FieldPaththis
for chained invocationDocumentMutation append(@API.NonNullable FieldPath path, @API.NonNullable String string)
path
- path of the field that needs to be appendedstring
- the String to append at the FieldPaththis
for chained invocationDocumentMutation append(@API.NonNullable String path, @API.NonNullable byte[] value, int offset, int len)
path
- the FieldPath to apply this append operationvalue
- the byte array to appendoffset
- offset in byte arraylen
- length in byte arraythis
for chained invocationDocumentMutation append(@API.NonNullable FieldPath path, @API.NonNullable byte[] value, int offset, int len)
path
- the FieldPath to apply this append operationvalue
- the byte array to appendoffset
- offset in byte arraylen
- length in byte arraythis
for chained invocationDocumentMutation append(@API.NonNullable String path, @API.NonNullable byte[] value)
path
- the FieldPath to apply this append operationvalue
- the byte array to appendthis
for chained invocationDocumentMutation append(@API.NonNullable FieldPath path, @API.NonNullable byte[] value)
path
- the FieldPath to apply this append operationvalue
- the byte array to appendthis
for chained invocationDocumentMutation append(@API.NonNullable String path, @API.NonNullable ByteBuffer value)
path
- the FieldPath to apply this append operationvalue
- the ByteBuffer to appendthis
for chained invocationDocumentMutation append(@API.NonNullable FieldPath path, @API.NonNullable ByteBuffer value)
path
- the FieldPath to apply this append operationvalue
- the ByteBuffer to appendthis
for chained invocationDocumentMutation merge(@API.NonNullable String path, @API.NonNullable Document doc)
path
- the FieldPath to apply this merge operationdoc
- the document to be mergedthis
for chained invocationDocumentMutation merge(@API.NonNullable FieldPath path, @API.NonNullable Document doc)
path
- the FieldPath to apply this merge operationdoc
- the document to be mergedthis
for chained invocationDocumentMutation merge(@API.NonNullable String path, @API.NonNullable Map<String,Object> map)
path
- the FieldPath to apply this merge operationmap
- the Map to be mergedthis
for chained invocationDocumentMutation merge(@API.NonNullable FieldPath path, @API.NonNullable Map<String,Object> map)
path
- the FieldPath to apply this merge operationmap
- the Map to be mergedthis
for chained invocationDocumentMutation increment(@API.NonNullable FieldPath path, byte inc)
path
- the FieldPath to apply this increment operationinc
- increment to apply to a field - can be positive or negativeDocumentMutation increment(@API.NonNullable String path, byte inc)
path
- the FieldPath to apply this increment operationinc
- increment to apply to a field - can be positive or negativeDocumentMutation increment(@API.NonNullable FieldPath path, short inc)
path
- the FieldPath to apply this increment operationinc
- increment to apply to a field - can be positive or negativeDocumentMutation increment(@API.NonNullable String path, short inc)
path
- the FieldPath to apply this increment operationinc
- increment to apply to a field - can be positive or negativeDocumentMutation increment(@API.NonNullable String path, int inc)
path
- the FieldPath to apply this increment operationinc
- increment to apply to a field - can be positive or negativeDocumentMutation increment(@API.NonNullable FieldPath path, int inc)
path
- the FieldPath to apply this increment operationinc
- increment to apply to a field - can be positive or negativeDocumentMutation increment(@API.NonNullable FieldPath path, long inc)
path
- the FieldPath to apply this increment operationinc
- increment to apply to a field - can be positive or negativeDocumentMutation increment(@API.NonNullable String path, long inc)
path
- the FieldPath to apply this increment operationinc
- increment to apply to a field - can be positive or negativeDocumentMutation increment(@API.NonNullable String path, float inc)
path
- the FieldPath to apply this increment operationinc
- increment to apply to a field - can be positive or negativeDocumentMutation increment(@API.NonNullable FieldPath path, float inc)
path
- the FieldPath to apply this increment operationinc
- increment to apply to a field - can be positive or negativeDocumentMutation increment(@API.NonNullable String path, double inc)
DocumentMutation increment(@API.NonNullable FieldPath path, double inc)
path
- the FieldPath to apply this increment operationinc
- increment to apply to a field - can be positive or negativeDocumentMutation increment(@API.NonNullable String path, @API.NonNullable BigDecimal inc)
path
- the FieldPath to apply this increment operationinc
- increment to apply to a field - can be positive or negativeDocumentMutation increment(@API.NonNullable FieldPath path, @API.NonNullable BigDecimal inc)
path
- the FieldPath to apply this increment operationinc
- increment to apply to a field - can be positive or negativeDocumentMutation decrement(@API.NonNullable FieldPath path, byte dec)
path
- field name in dot separated notationdec
- decrement to apply to a field - can be positive or negativeIOException
DocumentMutation decrement(@API.NonNullable String path, byte dec)
DocumentMutation decrement(@API.NonNullable FieldPath path, short dec)
DocumentMutation decrement(@API.NonNullable String path, short dec)
DocumentMutation decrement(@API.NonNullable String path, int dec)
DocumentMutation decrement(@API.NonNullable FieldPath path, int dec)
DocumentMutation decrement(@API.NonNullable FieldPath path, long dec)
DocumentMutation decrement(@API.NonNullable String path, long dec)
DocumentMutation decrement(@API.NonNullable String path, float dec)
DocumentMutation decrement(@API.NonNullable FieldPath path, float dec)
DocumentMutation decrement(@API.NonNullable String path, double dec)
DocumentMutation decrement(@API.NonNullable FieldPath path, double dec)
DocumentMutation decrement(@API.NonNullable String path, @API.NonNullable BigDecimal dec)
DocumentMutation decrement(@API.NonNullable FieldPath path, @API.NonNullable BigDecimal dec)
DocumentMutation delete(@API.NonNullable String path)
"a.b.c"
, and the
field "a.b"
is an array, then "a.b.c"
will not be deleted.path
- the FieldPath to deleteDocumentMutation delete(@API.NonNullable FieldPath path)
"a.b.c"
, and the
field "a.b"
is an array, then "a.b.c"
will not be deleted.path
- the FieldPath to deleteCopyright © 2015–2019 MapR Technologies, Inc.. All rights reserved.