Class DoubleValues

    • Constructor Detail

      • DoubleValues

        public DoubleValues()
    • Method Detail

      • doubleValue

        public abstract double doubleValue()
                                    throws java.io.IOException
        Get the double 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
      • withDefault

        public static DoubleValues withDefault​(DoubleValues in,
                                               double missingValue)
        Wrap a DoubleValues instance, returning a default if the wrapped instance has no value