public class ArrayMatchExpression extends ArrayComparisonExpression
array_match_expression := {array: ,
elemMatch: query_expression }
| Constructor and Description |
|---|
ArrayMatchExpression(Path array,
QueryExpression elemMatch)
Ctor with the given values
|
| Modifier and Type | Method and Description |
|---|---|
static ArrayMatchExpression |
fromJson(com.fasterxml.jackson.databind.node.ObjectNode node)
Parses an array match expression from the given json object
|
Path |
getArray()
The array field.
|
QueryExpression |
getElemMatch()
The nested query that will be matched against array elements
|
com.fasterxml.jackson.databind.JsonNode |
toJson()
Returns JSON representation of this query
|
bind, bind, fromJson, getBindableClauses, getBindableClauses, getQueryFields, getQueryFields, getQueryFields, isRequired, isRequiredgetFactory, getSourceNode, toStringpublic ArrayMatchExpression(Path array, QueryExpression elemMatch)
public Path getArray()
public QueryExpression getElemMatch()
public com.fasterxml.jackson.databind.JsonNode toJson()
toJson in class JsonObjectpublic static ArrayMatchExpression fromJson(com.fasterxml.jackson.databind.node.ObjectNode node)
Copyright © 2015. All rights reserved.