Class PackedInts.NullReader

    • Constructor Detail

      • NullReader

        public NullReader(int valueCount)
        Sole constructor.
    • Method Detail

      • get

        public long get(int index)
        Description copied from class: NumericDocValues
        Returns the numeric value for the specified document ID.
        Specified by:
        get in class NumericDocValues
        index - document ID to lookup
        numeric value
      • get

        public int get(int index,
                       long[] arr,
                       int off,
                       int len)
        Description copied from class: PackedInts.Reader
        Bulk get: read at least one and at most len longs starting from index into arr[off:off+len] and return the actual number of values that have been read.
        get in class PackedInts.Reader
      • ramBytesUsed

        public long ramBytesUsed()
        Description copied from interface: Accountable
        Return the memory usage of this object in bytes. Negative values are illegal.