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, unsetTag
protected 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.QueryNode
public CharSequence getField()
getField
in interface org.apache.lucene.queryparser.flexible.core.nodes.FieldableNode
public void setField(CharSequence fieldName)
setField
in interface org.apache.lucene.queryparser.flexible.core.nodes.FieldableNode
public 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.TextableQueryNode
public void setText(CharSequence text)
setText
in interface org.apache.lucene.queryparser.flexible.core.nodes.TextableQueryNode
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.