LuceneTestUtilities.FloatRangeQueryProvider (Apache Geode 1.8.0)
Date: 2018-11-29

org.apache.geode.cache.lucene.test

## Class LuceneTestUtilities.FloatRangeQueryProvider

- java.lang.Object
- - org.apache.geode.cache.lucene.test.LuceneTestUtilities.FloatRangeQueryProvider

- All Implemented Interfaces:
    java.io.Serializable, LuceneQueryProvider
  Enclosing class:
    LuceneTestUtilities

      public static class LuceneTestUtilities.FloatRangeQueryProvider
      extends java.lang.Object
      implements LuceneQueryProvider

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FloatRangeQueryProvider(java.lang.String fieldName, float lowerValue, float upperValue)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Query` | `getQuery(LuceneIndex index)`

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

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

- - ### Constructor Detail

    - #### FloatRangeQueryProvider

          public FloatRangeQueryProvider(java.lang.String fieldName,
                                         float lowerValue,
                                         float upperValue)

  - ### Method Detail

    - #### getQuery

          public Query getQuery(LuceneIndex index)
                         throws LuceneQueryException

      Specified by:
        `getQuery` in interface `LuceneQueryProvider`
      Parameters:
        `index` - The `LuceneIndex` the query is being executed against.
      Returns:
        A `Query` which will be executed against a Lucene index.
      Throws:
        `LuceneQueryException` - if the provider fails to construct the query object. This will be propagated to callers of the `LuceneQuery` find methods.