Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Classes | |
struct | TestData |
Static Public Member Functions | |
template<typename T , typename SetType > | |
static TestData< T, SetType > | CreateTestData (int num_values, const FunctionContext::TypeDesc &type, int num_search_vals=100) |
template<typename T , typename SetType > | |
static void | TestSetLookup (int batch_size, void *d) |
template<typename T , typename SetType > | |
static void | TestIterate (int batch_size, void *d) |
static void | RunIntBenchmark (int n) |
static void | RunStringBenchmark (int n) |
static void | RunDecimalBenchmark (int n) |
Static Private Member Functions | |
static FunctionContext * | CreateContext (int num_args, const FunctionContext::TypeDesc &type) |
Definition at line 186 of file in-predicate-benchmark.cc.
|
inlinestaticprivate |
Definition at line 304 of file in-predicate-benchmark.cc.
|
inlinestatic |
Definition at line 203 of file in-predicate-benchmark.cc.
References impala::InPredicateBenchmark::TestData< T, SetType >::anyval_ptrs, impala::InPredicateBenchmark::TestData< T, SetType >::anyvals, impala::InPredicateBenchmark::TestData< T, SetType >::search_vals, impala::InPredicateBenchmark::TestData< T, SetType >::state, impala::InPredicateBenchmark::TestData< T, SetType >::total_found_iter, impala::InPredicateBenchmark::TestData< T, SetType >::total_found_set, impala::InPredicateBenchmark::TestData< T, SetType >::total_iter, and impala::InPredicateBenchmark::TestData< T, SetType >::total_set.
|
inlinestatic |
Definition at line 288 of file in-predicate-benchmark.cc.
References impala::Benchmark::AddBenchmark(), impala::Benchmark::Measure(), impala_udf::FunctionContext::TypeDesc::precision, impala_udf::FunctionContext::TypeDesc::scale, impala_udf::FunctionContext::TypeDesc::type, and impala::TYPE_DECIMAL.
Referenced by main().
|
inlinestatic |
Definition at line 258 of file in-predicate-benchmark.cc.
References impala::Benchmark::AddBenchmark(), impala::Benchmark::Measure(), impala_udf::FunctionContext::TypeDesc::type, and impala::TYPE_INT.
Referenced by main().
|
inlinestatic |
Definition at line 273 of file in-predicate-benchmark.cc.
References impala::Benchmark::AddBenchmark(), impala::Benchmark::Measure(), impala_udf::FunctionContext::TypeDesc::type, and impala::TYPE_STRING.
Referenced by main().
|
inlinestatic |
Definition at line 246 of file in-predicate-benchmark.cc.
References impala::InPredicateBenchmark::TestData< T, SetType >::anyvals, impala::InPredicate::Iterate(), impala::InPredicateBenchmark::TestData< T, SetType >::search_vals, impala::InPredicateBenchmark::TestData< T, SetType >::state, impala::InPredicateBenchmark::TestData< T, SetType >::total_found_iter, impala::InPredicateBenchmark::TestData< T, SetType >::total_iter, and impala_udf::BooleanVal::val.
|
inlinestatic |
Definition at line 234 of file in-predicate-benchmark.cc.
References impala::InPredicateBenchmark::TestData< T, SetType >::search_vals, impala::InPredicate::SetLookup(), impala::InPredicateBenchmark::TestData< T, SetType >::state, impala::InPredicateBenchmark::TestData< T, SetType >::total_found_set, impala::InPredicateBenchmark::TestData< T, SetType >::total_set, and impala_udf::BooleanVal::val.