public class UnsetExpressionEvaluator extends Updater
| Constructor and Description |
|---|
UnsetExpressionEvaluator(com.fasterxml.jackson.databind.node.JsonNodeFactory factory,
FieldTreeNode context,
UnsetExpression expr) |
| Modifier and Type | Method and Description |
|---|---|
void |
getUpdateFields(Set<Path> setFields)
Add the fields updated by this updater to the set of fields.
|
boolean |
update(JsonDoc doc,
FieldTreeNode contextMd,
Path contextPath)
The implementation should update the document
|
getInstance, getInstance, getUpdateFieldspublic UnsetExpressionEvaluator(com.fasterxml.jackson.databind.node.JsonNodeFactory factory,
FieldTreeNode context,
UnsetExpression expr)
public void getUpdateFields(Set<Path> setFields)
UpdatergetUpdateFields in class UpdatersetFields - A Set to receive the fields to be updated
The fields list should be added the absolute pathspublic boolean update(JsonDoc doc, FieldTreeNode contextMd, Path contextPath)
UpdaterCopyright © 2015. All rights reserved.