public class PrefixWildcardQueryNode extends WildcardQueryNode
PrefixWildcardQueryNode represents wildcardquery that matches abc*
 or *. This does not apply to phrases, this is a special case on the original
 lucene parser. TODO: refactor the code to remove this special case from the
 parser. and probably do it on a Processorbegin, end, field, positionIncrement, textPLAINTEXT_FIELD_NAME, toQueryStringIgnoreFields| Constructor and Description | 
|---|
| PrefixWildcardQueryNode(CharSequence field,
                       CharSequence text,
                       int begin,
                       int end) | 
| PrefixWildcardQueryNode(FieldQueryNode fqn) | 
| Modifier and Type | Method and Description | 
|---|---|
| PrefixWildcardQueryNode | cloneTree()Recursive clone the QueryNode tree The tags are not copied to the new tree
 when you call the cloneTree() method | 
| String | toString()Every implementation of this class should return pseudo xml like this:
 
 For FieldQueryNode:  | 
toQueryStringgetBegin, getEnd, getField, getFieldAsString, getPositionIncrement, getTermEscaped, getTermEscapeQuoted, getText, getTextAsString, getValue, setBegin, setEnd, setField, setPositionIncrement, setText, setValueadd, add, allocate, clone, containsTag, containsTag, getChildren, getParent, getTag, getTag, getTagMap, getTags, isDefaultField, isLeaf, isRoot, set, setLeaf, setTag, setTag, unsetTag, unsetTagpublic PrefixWildcardQueryNode(CharSequence field, CharSequence text, int begin, int end)
field - - field nametext - - value including the wildcardbegin - - position in the query stringend - - position in the query stringpublic PrefixWildcardQueryNode(FieldQueryNode fqn)
public String toString()
QueryNodeImpltoString in interface QueryNodetoString in class WildcardQueryNodeQueryNode.toString()public PrefixWildcardQueryNode cloneTree() throws CloneNotSupportedException
QueryNodecloneTree in interface QueryNodecloneTree in class WildcardQueryNodeCloneNotSupportedException