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

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

public static class StatisticalFacetCollector.StatsProc
extends Object
implements NumericFieldData.MissingDoubleValueInDocProc


Constructor Summary
StatisticalFacetCollector.StatsProc()
           
 
Method Summary
 long count()
           
 double max()
           
 double min()
           
 void onMissing(int docId)
           
 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.MissingDoubleValueInDocProc

onMissing

public void onMissing(int docId)
Specified by:
onMissing in interface NumericFieldData.MissingDoubleValueInDocProc

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()


Copyright © 2009-2012. All Rights Reserved.