Class LongValues


  • public abstract class LongValues
    extends java.lang.Object
    Per-segment, per-document long values, which can be calculated at search-time
    • Constructor Summary

      Constructors 
      Constructor Description
      LongValues()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract boolean advanceExact​(int doc)
      Advance this instance to the given document id
      abstract long longValue()
      Get the long value for the current document
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LongValues

        public LongValues()
    • Method Detail

      • longValue

        public abstract long longValue()
                                throws java.io.IOException
        Get the long value for the current document
        Throws:
        java.io.IOException
      • advanceExact

        public abstract boolean advanceExact​(int doc)
                                      throws java.io.IOException
        Advance this instance to the given document id
        Returns:
        true if there is a value for this document
        Throws:
        java.io.IOException