org.apache.jackrabbit.core.query.lucene
Class NameRangeQuery

java.lang.Object
  extended by org.apache.lucene.search.Query
      extended by 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

Constructor Summary
NameRangeQuery(Name lowerName, Name upperName, boolean inclusive, IndexFormatVersion version, NamespaceMappings nsMappings)
          Creates a new NameRangeQuery.
 
Method Summary
 org.apache.lucene.search.Query rewrite(org.apache.lucene.index.IndexReader reader)
          
 String toString(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
 

Constructor Detail

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 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.
Method Detail

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-2009 The Apache Software Foundation. All Rights Reserved.