Package org.apache.lucene.util.packed

Packed integer arrays and streams.

See:
          Description

Interface Summary
PackedInts.Decoder A decoder for packed integers.
PackedInts.Encoder An encoder for packed integers.
PackedInts.Mutable A packed integer array that can be modified.
PackedInts.Reader A read-only random access array of positive integers.
PackedInts.ReaderIterator Run-once iterator interface, to decode previously saved PackedInts.
 

Class Summary
GrowableWriter Implements PackedInts.Mutable, but grows the bit count of the underlying packed ints on-demand.
PackedInts Simplistic compression for array of unsigned long values.
PackedInts.FormatAndBits Simple class that holds a format and a number of bits per value.
PackedInts.Writer A write-once Writer.
 

Enum Summary
PackedInts.Format A format to write packed ints.
 

Package org.apache.lucene.util.packed Description

Packed integer arrays and streams.

The packed package provides

The implementations provide different trade-offs between memory usage and access speed. The standard usage scenario is replacing large int or long arrays in order to reduce the memory footprint.

The main access point is the PackedInts factory.



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