## Uses of Class
org.apache.lucene.facet.encoding.IntEncoder

- Packages that use IntEncoder
  Package | Description
  --- | ---
  org.apache.lucene.facet.encoding | Offers various encoders and decoders for category ordinals.
  org.apache.lucene.facet.params | Facets indexing and search parameters.

- - ### Uses of IntEncoder in org.apache.lucene.facet.encoding

    Subclasses of IntEncoder in org.apache.lucene.facet.encoding
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ChunksIntEncoder` An `IntEncoder` which encodes values in chunks.
    `class` | `DGapIntEncoder` An `IntEncoderFilter` which encodes the gap between the given values, rather than the values themselves.
    `class` | `DGapVInt8IntEncoder` An `IntEncoder` which implements variable length encoding for the gap between values.
    `class` | `EightFlagsIntEncoder` A `ChunksIntEncoder` which encodes data in chunks of 8.
    `class` | `FourFlagsIntEncoder` A `ChunksIntEncoder` which encodes values in chunks of 4.
    `class` | `IntEncoderFilter` An abstract implementation of `IntEncoder` which wraps another encoder.
    `class` | `NOnesIntEncoder` A variation of `FourFlagsIntEncoder` which translates the data as follows: Values ≥ 2 are trnalsated to `value+1` (2 ⇒ 3, 3 ⇒ 4 and so forth).
    `class` | `SimpleIntEncoder` A simple `IntEncoder`, writing an integer as 4 raw bytes.
    `class` | `SortingIntEncoder` An `IntEncoderFilter` which sorts the values to encode in ascending order before encoding them.
    `class` | `UniqueValuesIntEncoder` An `IntEncoderFilter` which ensures only unique values are encoded.
    `class` | `VInt8IntEncoder` An `IntEncoder` which implements variable length encoding.

    Fields in org.apache.lucene.facet.encoding declared as IntEncoder
    Modifier and Type | Field and Description
    --- | ---
    `protected IntEncoder` | IntEncoderFilter.`encoder`

    Constructors in org.apache.lucene.facet.encoding with parameters of type IntEncoder
    Constructor and Description
    `DGapIntEncoder(IntEncoder encoder)` Initializes with the given encoder.
    `IntEncoderFilter(IntEncoder encoder)`
    `SortingIntEncoder(IntEncoder encoder)` Initializes with the given encoder.
    `UniqueValuesIntEncoder(IntEncoder encoder)` Constructs a new instance with the given encoder.

  - ### Uses of IntEncoder in org.apache.lucene.facet.params

    Methods in org.apache.lucene.facet.params that return IntEncoder
    Modifier and Type | Method and Description
    --- | ---
    `IntEncoder` | CategoryListParams.`createEncoder()` Allows to override how categories are encoded and decoded.

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