Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
#include "udf/udf.h"
Go to the source code of this file.
Functions | |
void | MemTestInit (FunctionContext *, BigIntVal *total) |
void | MemTestUpdate (FunctionContext *context, const BigIntVal &bytes, BigIntVal *total) |
void | MemTestMerge (FunctionContext *context, const BigIntVal &src, BigIntVal *dst) |
const BigIntVal | MemTestSerialize (FunctionContext *context, const BigIntVal &total) |
BigIntVal | MemTestFinalize (FunctionContext *context, const BigIntVal &total) |
BigIntVal MemTestFinalize | ( | FunctionContext * | context, |
const BigIntVal & | total | ||
) |
Definition at line 89 of file test-udas.cc.
References impala_udf::FunctionContext::Free(), impala_udf::AnyVal::is_null, and impala_udf::BigIntVal::val.
Referenced by TEST().
void MemTestInit | ( | FunctionContext * | , |
BigIntVal * | total | ||
) |
Definition at line 63 of file test-udas.cc.
Referenced by TEST().
void MemTestMerge | ( | FunctionContext * | context, |
const BigIntVal & | src, | ||
BigIntVal * | dst | ||
) |
Definition at line 73 of file test-udas.cc.
References impala_udf::AnyVal::is_null, impala_udf::FunctionContext::TrackAllocation(), and impala_udf::BigIntVal::val.
Referenced by TEST().
const BigIntVal MemTestSerialize | ( | FunctionContext * | context, |
const BigIntVal & | total | ||
) |
Definition at line 83 of file test-udas.cc.
References impala_udf::FunctionContext::Free(), impala_udf::AnyVal::is_null, and impala_udf::BigIntVal::val.
Referenced by TEST().
void MemTestUpdate | ( | FunctionContext * | context, |
const BigIntVal & | bytes, | ||
BigIntVal * | total | ||
) |
Definition at line 67 of file test-udas.cc.
References impala_udf::AnyVal::is_null, impala_udf::FunctionContext::TrackAllocation(), and impala_udf::BigIntVal::val.
Referenced by TEST().