Class DenseIntSegmentBody

  • All Implemented Interfaces:
    Serializable, SegmentBody

    class DenseIntSegmentBody
    extends AbstractSegmentBody
    Implementation of a segment body which stores the data inside a dense primitive array of integers.
    Author:
    LBoudreau
    • Constructor Detail

      • DenseIntSegmentBody

        DenseIntSegmentBody​(BitSet nullValues,
                            int[] values,
                            List<Pair<SortedSet<Comparable>,​Boolean>> axes)
        Creates a DenseIntSegmentBody.

        Stores the given array of cell values and null indicators; caller must not modify them afterwards.

        Parameters:
        nullValues - A bit-set indicating whether values are null. Each position in the bit-set corresponds to an offset in the value array. If position is null, the corresponding entry in the value array will also be 0.
        values - Cell values
        axes - Axes