org.elasticsearch.search.facet.statistical
Class StatisticalFacetCollector.StatsProc

java.lang.Object
  extended by org.elasticsearch.search.facet.statistical.StatisticalFacetCollector.StatsProc
All Implemented Interfaces:
NumericFieldData.DoubleValueInDocProc
Enclosing class:
StatisticalFacetCollector

public static class StatisticalFacetCollector.StatsProc
extends java.lang.Object
implements NumericFieldData.DoubleValueInDocProc


Constructor Summary
StatisticalFacetCollector.StatsProc()
           
 
Method Summary
 long count()
           
 double max()
           
 double min()
           
 void onValue(int docId, double value)
           
 double sumOfSquares()
           
 double total()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticalFacetCollector.StatsProc

public StatisticalFacetCollector.StatsProc()
Method Detail

onValue

public void onValue(int docId,
                    double value)
Specified by:
onValue in interface NumericFieldData.DoubleValueInDocProc

min

public final double min()

max

public final double max()

total

public final double total()

count

public final long count()

sumOfSquares

public final double sumOfSquares()