Serializable, Cloneable, QueryNodepublic class MatchAllDocsQueryNode extends QueryNodeImpl
MatchAllDocsQueryNode indicates that a query node tree or subtree
will match all documents if executed in the index.PLAINTEXT_FIELD_NAME, toQueryStringIgnoreFields| Constructor | Description |
|---|---|
MatchAllDocsQueryNode() |
| Modifier and Type | Method | Description |
|---|---|---|
MatchAllDocsQueryNode |
cloneTree() |
Recursive clone the QueryNode tree The tags are not copied to the new tree
when you call the cloneTree() method
|
CharSequence |
toQueryString(EscapeQuerySyntax escapeSyntaxParser) |
convert to a query string understood by the query parser
|
String |
toString() |
Every implementation of this class should return pseudo xml like this:
For FieldQueryNode:
|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, add, allocate, clone, containsTag, containsTag, getChildren, getParent, getTag, getTag, getTagMap, getTags, isDefaultField, isLeaf, isRoot, set, setLeaf, setTag, setTag, unsetTag, unsetTagpublic String toString()
QueryNodeImpltoString in interface QueryNodetoString in class QueryNodeImplQueryNode.toString()public CharSequence toQueryString(EscapeQuerySyntax escapeSyntaxParser)
QueryNodepublic MatchAllDocsQueryNode cloneTree() throws CloneNotSupportedException
QueryNodecloneTree in interface QueryNodecloneTree in class QueryNodeImplCloneNotSupportedExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.