org.crosswire.jsword.index.query

## Class RangeQuery

- java.lang.Object
- - org.crosswire.jsword.index.query.AbstractQuery
  - - org.crosswire.jsword.index.query.RangeQuery

- All Implemented Interfaces:
    Query

      public class RangeQuery
      extends AbstractQuery

  A range query specifies how a range should be included in the search. It provides a range, a modifier (AND [+] or AND NOT [-]).
  Author:
    DM Smith
  See Also:
    `The GNU Lesser General Public License for details.`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RangeQuery(String theRange)` Construct a query from the range specification.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Key` | `find(Index index)` Find the keys that match the query in the index

    - ### Methods inherited from class org.crosswire.jsword.index.query.AbstractQuery

      `getQuery`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RangeQuery

          public RangeQuery(String theRange)

      Construct a query from the range specification.
      Parameters:
        `theRange` -

  - ### Method Detail

    - #### find

          public Key find(Index index)
                   throws BookException

      Description copied from interface: `Query`
      Find the keys that match the query in the index
      Parameters:
        `index` - the index to search
      Returns:
        the set of keys that match
      Throws:
        `BookException`