org.apache.lucene.util

Class LongValues

    • Field Detail

      • IDENTITY

        public static final LongValues IDENTITY
        An instance that returns the provided value.
    • Method Detail

      • get

        public abstract long get(long index)
        Get value at index.
      • get

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