public static interface SetOperation.FieldAppender.ValueAppender
| Modifier and Type | Method and Description |
|---|---|
SetOperation |
toValue(Object value)
Define the value to assign as is.
|
SetOperation |
toValueOf(Object value)
Define the value to assign.
|
SetOperation |
withValueOfExpression(String operation,
Object... values)
Adds a generic projection for the current field.
|
SetOperation toValue(@Nullable Object value)
value - can be null.SetOperation.SetOperation toValueOf(Object value)
String values are treated as field references.value - must not be null.SetOperation.SetOperation withValueOfExpression(String operation, Object... values)
operation - the operation key, e.g. $add.values - the values to be set for the projection operation.SetOperation.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.