org.crosswire.jsword.index.query

## Class AbstractQuery

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

- All Implemented Interfaces:
    Query
  Direct Known Subclasses:
    BaseQuery, RangeQuery

      public abstract class AbstractQuery
      extends Object
      implements Query

  A base query is the smallest unit of search that the index can perform.
  Author:
    DM Smith
  See Also:
    `The GNU Lesser General Public License for details.`

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private String` | `query`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractQuery(String theQuery)` Construct a query from a string.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getQuery()`

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

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

    - ### Methods inherited from interface org.crosswire.jsword.index.query.Query

      `find`

- - ### Field Detail

    - #### query

          private String query

  - ### Constructor Detail

    - #### AbstractQuery

          public AbstractQuery(String theQuery)

      Construct a query from a string.
      Parameters:
        `theQuery` -

  - ### Method Detail

    - #### getQuery

          public String getQuery()

      Returns:
        the query