public class ArrayQueryNode
extends org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
ArrayQueryNode represents a JSON-like array of nodes. This array is
mapped to a TwigQuery, possibly with an TwigQuery.EmptyRootQuery.
Each child of an ArrayQueryNode has the same root node, which is
defined by TwigQueryNode.
| Constructor and Description |
|---|
ArrayQueryNode(List<org.apache.lucene.queryparser.flexible.core.nodes.QueryNode> values) |
ArrayQueryNode(org.apache.lucene.queryparser.flexible.core.nodes.QueryNode value) |
| Modifier and Type | Method and Description |
|---|---|
CharSequence |
toQueryString(org.apache.lucene.queryparser.flexible.core.parser.EscapeQuerySyntax escapeSyntaxParser) |
String |
toString() |
public ArrayQueryNode(List<org.apache.lucene.queryparser.flexible.core.nodes.QueryNode> values)
values - a list of QueryNodes, evaluated on the same level
in the document tree.public ArrayQueryNode(org.apache.lucene.queryparser.flexible.core.nodes.QueryNode value)
public String toString()
toString in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNodetoString in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImplpublic CharSequence toQueryString(org.apache.lucene.queryparser.flexible.core.parser.EscapeQuerySyntax escapeSyntaxParser)
Copyright © 2014. All rights reserved.