org.apache.jackrabbit.core.query.lucene
Class NameRangeQuery
java.lang.Object
org.apache.lucene.search.Query
org.apache.jackrabbit.core.query.lucene.NameRangeQuery
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class NameRangeQuery
- extends org.apache.lucene.search.Query
NameRangeQuery...
- See Also:
- Serialized Form
|
Method Summary |
org.apache.lucene.search.Query |
rewrite(org.apache.lucene.index.IndexReader reader)
|
java.lang.String |
toString(java.lang.String field)
|
| Methods inherited from class org.apache.lucene.search.Query |
clone, combine, createWeight, extractTerms, getBoost, getSimilarity, mergeBooleanQueries, setBoost, toString, weight |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NameRangeQuery
public NameRangeQuery(Name lowerName,
Name upperName,
boolean inclusive,
IndexFormatVersion version,
NamespaceMappings nsMappings)
- Creates a new NameRangeQuery. The lower or the upper name may be
null, but not both!
- Parameters:
lowerName - the lower name of the interval, or nullupperName - the upper name of the interval, or null.inclusive - if true the interval is inclusive.version - the index format version.nsMappings - the internal namespace mappings.
rewrite
public org.apache.lucene.search.Query rewrite(org.apache.lucene.index.IndexReader reader)
throws java.io.IOException
-
- Overrides:
rewrite in class org.apache.lucene.search.Query
- Throws:
java.io.IOException
toString
public java.lang.String toString(java.lang.String field)
-
- Specified by:
toString in class org.apache.lucene.search.Query
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.