Class BitStreamHPIndex

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    FileHPIndex, InMemoryHPIndex, MemoryMappedHPIndex

    public abstract class BitStreamHPIndex
    extends BitStreamIndex
    A high-performance bitstream-based index.

    Implementing subclasses must provide access to the index bitstream (as it happens for a BitStreamIndex) but also to the positions stream, both at byte and bit level.

    Wired implementations

    The standard readers associated with an instance of this class are of type BitStreamHPIndexReader. Nonetheless, it is possible to generate automatically sources for wired classes that work only for a particular set of codings and flags. The wired classes will be fetched automagically by reflection, if available. Please read the section about performance in the MG4J manual.

    Since:
    1.1
    Author:
    Sebastiano Vigna
    See Also:
    Serialized Form