org.apache.hadoop.hive.ql.exec
Interface UDAFEvaluator

All Known Implementing Classes:
UDAFPercentile.PercentileLongArrayEvaluator, UDAFPercentile.PercentileLongEvaluator, UDAFWrongArgLengthForTestCase.UDAFWrongArgLengthForTestCaseEvaluator

public interface UDAFEvaluator

Interface that encapsulates the evaluation logic of a UDAF. One evaluator is needed for every overloaded form of a UDAF .e.g max and min UDAFs would have evaluators for integer, string and other types. On the other hand avg would have an evaluator only for the double type.


Method Summary
 void init()
          Initializer.
 

Method Detail

init

void init()
Initializer. Initializes the state for the evaluator.



Copyright © 2014 The Apache Software Foundation. All rights reserved.