Class OrdinalMap

  • All Implemented Interfaces:
    Accountable

    public class OrdinalMap
    extends Object
    implements Accountable
    Maps per-segment ordinals to/from global ordinal space, using a compact packed-ints representation.

    NOTE: this is a costly operation, as it must merge sort all terms, and may require non-trivial RAM once done. It's better to operate in segment-private ordinal space instead when possible.

    NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.