## Uses of Class
org.apache.lucene.util.LongValues

- Packages that use LongValues
  Package | Description
  --- | ---
  org.apache.lucene.index | Code to maintain and access indices.
  org.apache.lucene.util | Some utility classes.
  org.apache.lucene.util.packed | Packed integer arrays and streams.

- - ### Uses of LongValues in org.apache.lucene.index

    Methods in org.apache.lucene.index that return LongValues
    Modifier and Type | Method and Description
    --- | ---
    `LongValues` | OrdinalMap.`getGlobalOrds(int segmentIndex)` Given a segment number, return a `LongValues` instance that maps segment ordinals to global ordinals.

  - ### Uses of LongValues in org.apache.lucene.util

    Fields in org.apache.lucene.util declared as LongValues
    Modifier and Type | Field and Description
    --- | ---
    `static LongValues` | LongValues.`IDENTITY` An instance that returns the provided value.
    `static LongValues` | LongValues.`ZEROES`

  - ### Uses of LongValues in org.apache.lucene.util.packed

    Subclasses of LongValues in org.apache.lucene.util.packed
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractPagedMutable<T extends AbstractPagedMutable<T>>` Base implementation for `PagedMutable` and `PagedGrowableWriter`.
    `class` | `BlockPackedReader` Provides random access to a stream written with `BlockPackedWriter`.
    `class` | `DirectMonotonicReader` Retrieves an instance previously written by `DirectMonotonicWriter`.
    `class` | `MonotonicBlockPackedReader` Provides random access to a stream written with `MonotonicBlockPackedWriter`.
    `class` | `PackedLongValues` Utility class to compress integers into a `LongValues` instance.
    `class` | `PagedGrowableWriter` A `PagedGrowableWriter`.
    `class` | `PagedMutable` A `PagedMutable`.

    Methods in org.apache.lucene.util.packed that return LongValues
    Modifier and Type | Method and Description
    --- | ---
    `static LongValues` | DirectReader.`getInstance(RandomAccessInput slice, int bitsPerValue)` Retrieves an instance from the specified slice written decoding `bitsPerValue` for each value
    `static LongValues` | DirectReader.`getInstance(RandomAccessInput slice, int bitsPerValue, long offset)` Retrieves an instance from the specified `offset` of the given slice decoding `bitsPerValue` for each value

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