public class UnsetExpression extends PrimitiveUpdateExpression
primitive_update_expression := { $set : { path : rvalue_expression , ...} } |
{ $unset : path } |
{ $unset :[ path, ... ] }
{ $add : { path : rvalue_expression, ... } }
| Constructor and Description |
|---|
UnsetExpression(List<Path> list)
Constructs an unset expression using the given list
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static UnsetExpression |
fromJson(com.fasterxml.jackson.databind.node.ObjectNode node)
Parses an unset expression using the given json object
|
List<Path> |
getFields()
Returns the fields to be removed
|
int |
hashCode() |
com.fasterxml.jackson.databind.JsonNode |
toJson() |
fromJsongetFactory, getSourceNode, toStringpublic com.fasterxml.jackson.databind.JsonNode toJson()
toJson in class JsonObjectpublic static UnsetExpression fromJson(com.fasterxml.jackson.databind.node.ObjectNode node)
Copyright © 2015. All rights reserved.