org.apache.lucene.index

## Class ExitableDirectoryReader.ExitableFields

- java.lang.Object
- - org.apache.lucene.index.Fields
  - - org.apache.lucene.index.FilterLeafReader.FilterFields
    - - org.apache.lucene.index.ExitableDirectoryReader.ExitableFields

- All Implemented Interfaces:
    Iterable<String>
  Enclosing class:
    ExitableDirectoryReader

      public static class ExitableDirectoryReader.ExitableFields
      extends FilterLeafReader.FilterFields

  Wrapper class for another Fields implementation that is used by the ExitableFilterAtomicReader.

- - ### Field Summary

    - ### Fields inherited from class org.apache.lucene.index.FilterLeafReader.FilterFields

      `in`

    - ### Fields inherited from class org.apache.lucene.index.Fields

      `EMPTY_ARRAY`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ExitableFields(Fields fields, QueryTimeout queryTimeout)` Constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Terms` | `terms(String field)` Get the `Terms` for this field.

    - ### Methods inherited from class org.apache.lucene.index.FilterLeafReader.FilterFields

      `iterator, size`

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

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

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, spliterator`

- - ### Constructor Detail

    - #### ExitableFields

          public ExitableFields(Fields fields,
                                QueryTimeout queryTimeout)

      Constructor

  - ### Method Detail

    - #### terms

          public Terms terms(String field)
                      throws IOException

      Description copied from class: `Fields`
      Get the `Terms` for this field. This will return null if the field does not exist.
      Overrides:
        `terms` in class `FilterLeafReader.FilterFields`
      Throws:
        `IOException`

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.