public class NodeQueryNode extends org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl implements org.apache.lucene.queryparser.flexible.core.nodes.FieldValuePairQueryNode<CharSequence>, org.apache.lucene.queryparser.flexible.core.nodes.TextableQueryNode
| Modifier and Type | Field and Description |
|---|---|
protected CharSequence |
field
The node query's field
|
protected CharSequence |
text
The node query's text.
|
| Constructor and Description |
|---|
NodeQueryNode() |
| Modifier and Type | Method and Description |
|---|---|
CharSequence |
getField() |
CharSequence |
getText() |
CharSequence |
getValue() |
void |
setField(CharSequence fieldName) |
void |
setText(CharSequence text) |
void |
setValue(CharSequence value) |
CharSequence |
toQueryString(org.apache.lucene.queryparser.flexible.core.parser.EscapeQuerySyntax escapeSyntaxParser) |
String |
toString() |
add, add, allocate, clone, cloneTree, containsTag, getChildren, getParent, getTag, getTagMap, isDefaultField, isLeaf, isRoot, set, setLeaf, setTag, unsetTagprotected CharSequence field
protected CharSequence text
public CharSequence toQueryString(org.apache.lucene.queryparser.flexible.core.parser.EscapeQuerySyntax escapeSyntaxParser)
toQueryString in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNodepublic CharSequence getField()
getField in interface org.apache.lucene.queryparser.flexible.core.nodes.FieldableNodepublic void setField(CharSequence fieldName)
setField in interface org.apache.lucene.queryparser.flexible.core.nodes.FieldableNodepublic void setValue(CharSequence value)
setValue in interface org.apache.lucene.queryparser.flexible.core.nodes.ValueQueryNode<CharSequence>public CharSequence getValue()
getValue in interface org.apache.lucene.queryparser.flexible.core.nodes.ValueQueryNode<CharSequence>public CharSequence getText()
getText in interface org.apache.lucene.queryparser.flexible.core.nodes.TextableQueryNodepublic void setText(CharSequence text)
setText in interface org.apache.lucene.queryparser.flexible.core.nodes.TextableQueryNodepublic String toString()
toString in interface org.apache.lucene.queryparser.flexible.core.nodes.QueryNodetoString in class org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImplCopyright © 2014. All rights reserved.