public class TopLevelQueryNode
extends org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
QueryNode
represents the top level QueryNode
of a keyword query.
It is used in TopLevelQueryNodeBuilder
for wrapping
primitive queries, e.g., NodeTermQuery
, into a
LuceneProxyNodeQuery
.
Constructor and Description |
---|
TopLevelQueryNode(org.apache.lucene.queryparser.flexible.core.nodes.QueryNode q) |
Modifier and Type | Method and Description |
---|---|
CharSequence |
toQueryString(org.apache.lucene.queryparser.flexible.core.parser.EscapeQuerySyntax escapeSyntaxParser) |
String |
toString() |
public TopLevelQueryNode(org.apache.lucene.queryparser.flexible.core.nodes.QueryNode q)
public CharSequence toQueryString(org.apache.lucene.queryparser.flexible.core.parser.EscapeQuerySyntax escapeSyntaxParser)
public String toString()
toString
in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNode
toString
in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
Copyright © 2014. All rights reserved.