org.elasticsearch.search.facet.datehistogram
Class ValueScriptDateHistogramFacetCollector.DateHistogramProc

java.lang.Object
  extended by org.elasticsearch.search.facet.datehistogram.ValueScriptDateHistogramFacetCollector.DateHistogramProc
All Implemented Interfaces:
LongFieldData.DateValueInDocProc
Direct Known Subclasses:
ValueScriptDateHistogramFacetCollector.IntervalDateHistogramProc
Enclosing class:
ValueScriptDateHistogramFacetCollector

public static class ValueScriptDateHistogramFacetCollector.DateHistogramProc
extends java.lang.Object
implements LongFieldData.DateValueInDocProc


Field Summary
protected  SearchScript valueScript
           
 
Constructor Summary
ValueScriptDateHistogramFacetCollector.DateHistogramProc(SearchScript valueScript)
           
 
Method Summary
 void onValue(int docId, org.elasticsearch.common.joda.time.MutableDateTime dateTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

valueScript

protected final SearchScript valueScript
Constructor Detail

ValueScriptDateHistogramFacetCollector.DateHistogramProc

public ValueScriptDateHistogramFacetCollector.DateHistogramProc(SearchScript valueScript)
Method Detail

onValue

public void onValue(int docId,
                    org.elasticsearch.common.joda.time.MutableDateTime dateTime)
Specified by:
onValue in interface LongFieldData.DateValueInDocProc