org.apache.lucene.index

## Class AssertingLeafReader.AssertingSortedNumericDocValues

- java.lang.Object
- - org.apache.lucene.index.SortedNumericDocValues
  - - org.apache.lucene.index.AssertingLeafReader.AssertingSortedNumericDocValues

- Enclosing class:
    AssertingLeafReader

      public static class AssertingLeafReader.AssertingSortedNumericDocValues
      extends SortedNumericDocValues

  Wraps a SortedSetDocValues but with additional asserts

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AssertingSortedNumericDocValues(SortedNumericDocValues in, int maxDoc)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `count()`
    `void` | `setDocument(int doc)`
    `long` | `valueAt(int index)`

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

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

- - ### Constructor Detail

    - #### AssertingSortedNumericDocValues

          public AssertingSortedNumericDocValues(SortedNumericDocValues in,
                                                 int maxDoc)

  - ### Method Detail

    - #### setDocument

          public void setDocument(int doc)

      Specified by:
        `setDocument` in class `SortedNumericDocValues`

    - #### valueAt

          public long valueAt(int index)

      Specified by:
        `valueAt` in class `SortedNumericDocValues`

    - #### count

          public int count()

      Specified by:
        `count` in class `SortedNumericDocValues`

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