Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
#include <iostream>
#include <udf/uda-test-harness.h>
#include "uda-sample.h"
#include "common/names.h"
Go to the source code of this file.
Functions | |
bool | TestCount () |
bool | TestAvg () |
bool | TestStringConcat () |
int | main (int argc, char **argv) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 92 of file uda-sample-test.cc.
References TestAvg(), TestCount(), and TestStringConcat().
bool TestAvg | ( | ) |
Definition at line 54 of file uda-sample-test.cc.
References AvgFinalize(), AvgInit(), AvgMerge(), AvgUpdate(), impala_udf::UdaTestHarness< RESULT, INTERMEDIATE, INPUT >::Execute(), impala_udf::UdaTestHarnessBase< RESULT, INTERMEDIATE >::GetErrorMsg(), and impala_udf::UdaTestHarnessBase< RESULT, INTERMEDIATE >::SetIntermediateSize().
Referenced by main().
bool TestCount | ( | ) |
Definition at line 25 of file uda-sample-test.cc.
References CountFinalize(), CountInit(), CountMerge(), CountUpdate(), impala_udf::UdaTestHarness< RESULT, INTERMEDIATE, INPUT >::Execute(), and impala_udf::UdaTestHarnessBase< RESULT, INTERMEDIATE >::GetErrorMsg().
Referenced by main().
bool TestStringConcat | ( | ) |
Definition at line 70 of file uda-sample-test.cc.
References impala_udf::UdaTestHarness2< RESULT, INTERMEDIATE, INPUT1, INPUT2 >::Execute(), impala_udf::UdaTestHarnessBase< RESULT, INTERMEDIATE >::GetErrorMsg(), StringConcatFinalize(), StringConcatInit(), StringConcatMerge(), and StringConcatUpdate().
Referenced by main().