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() |
fromJson
getFactory, getSourceNode, toString
public com.fasterxml.jackson.databind.JsonNode toJson()
toJson
in class JsonObject
public static UnsetExpression fromJson(com.fasterxml.jackson.databind.node.ObjectNode node)
Copyright © 2014. All rights reserved.