Class DocValuesStats.DoubleDocValuesStats

    • Field Detail

      • sum

        private double sum
    • Constructor Detail

      • DoubleDocValuesStats

        public DoubleDocValuesStats​(java.lang.String field)
    • Method Detail

      • doAccumulate

        protected void doAccumulate​(int count)
                             throws java.io.IOException
        Description copied from class: DocValuesStats
        Called after DocValuesStats.accumulate(int) was processed and verified that the document has a value for the field. Implementations should update the statistics based on the value of the current document.
        Specified by:
        doAccumulate in class DocValuesStats<java.lang.Double>
        Parameters:
        count - the updated number of documents with value for this field.
        Throws:
        java.io.IOException