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:
- Serializable, Cloneable
public class NameRangeQuery
- extends org.apache.lucene.search.Query
NameRangeQuery
...
- See Also:
- Serialized Form
Methods inherited from class org.apache.lucene.search.Query |
clone, combine, createWeight, extractTerms, getBoost, getSimilarity, mergeBooleanQueries, setBoost, toString, weight |
NameRangeQuery
public NameRangeQuery(Name lowerName,
Name upperName,
boolean inclusive,
IndexFormatVersion version,
NamespaceMappings nsMappings,
org.apache.jackrabbit.core.query.lucene.PerQueryCache cache)
- 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 null
upperName
- 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 IOException
-
- Overrides:
rewrite
in class org.apache.lucene.search.Query
- Throws:
IOException
toString
public String toString(String field)
-
- Specified by:
toString
in class org.apache.lucene.search.Query
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.