# Package org.apache.lucene.facet.encoding

Offers various encoders and decoders for category ordinals.

See: Description

- Class Summary
  Class | Description
  --- | ---
  ChunksIntEncoder | An `IntEncoder` which encodes values in chunks.
  DGapIntDecoder | An `IntDecoder` which wraps another decoder and reverts the d-gap that was encoded by `DGapIntEncoder`.
  DGapIntEncoder | An `IntEncoderFilter` which encodes the gap between the given values, rather than the values themselves.
  DGapVInt8IntDecoder | Decodes values encoded by `DGapVInt8IntDecoder`.
  DGapVInt8IntEncoder | An `IntEncoder` which implements variable length encoding for the gap between values.
  EightFlagsIntDecoder | Decodes values encoded with `EightFlagsIntEncoder`.
  EightFlagsIntEncoder | A `ChunksIntEncoder` which encodes data in chunks of 8.
  FourFlagsIntDecoder | Decodes values encoded with `FourFlagsIntEncoder`.
  FourFlagsIntEncoder | A `ChunksIntEncoder` which encodes values in chunks of 4.
  IntDecoder | Decodes integers from a set `BytesRef`.
  IntEncoder | Encodes integers to a set `BytesRef`.
  IntEncoderFilter | An abstract implementation of `IntEncoder` which wraps another encoder.
  NOnesIntDecoder | Decodes values encoded encoded with `NOnesIntEncoder`.
  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).
  SimpleIntDecoder | Decodes values encoded with `SimpleIntEncoder`.
  SimpleIntEncoder | A simple `IntEncoder`, writing an integer as 4 raw bytes.
  SortingIntEncoder | An `IntEncoderFilter` which sorts the values to encode in ascending order before encoding them.
  UniqueValuesIntEncoder | An `IntEncoderFilter` which ensures only unique values are encoded.
  VInt8IntDecoder | Decodes values encoded by `VInt8IntEncoder`.
  VInt8IntEncoder | An `IntEncoder` which implements variable length encoding.

## Package org.apache.lucene.facet.encoding Description

Offers various encoders and decoders for category ordinals.

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