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 Query
NameRangeQuery...- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NameRangeQuery(Name lowerName, Name upperName, boolean inclusive, IndexFormatVersion version, NamespaceMappings nsMappings, org.apache.jackrabbit.core.query.lucene.PerQueryCache cache)Creates a new NameRangeQuery.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Queryrewrite(IndexReader reader)StringtoString(String field)-
Methods inherited from class org.apache.lucene.search.Query
clone, combine, createWeight, equals, extractTerms, getBoost, getSimilarity, hashCode, mergeBooleanQueries, setBoost, toString, weight
-
-
-
-
Constructor Detail
-
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 benull, but not both!- Parameters:
lowerName- the lower name of the interval, ornullupperName- the upper name of the interval, ornull.inclusive- iftruethe interval is inclusive.version- the index format version.nsMappings- the internal namespace mappings.
-
-
Method Detail
-
rewrite
public Query rewrite(IndexReader reader) throws IOException
- Overrides:
rewritein classQuery- Throws:
IOException
-
-