| 181 | } |
| 182 | |
| 183 | Status HashTableCtx::Create(ObjectPool* pool, RuntimeState* state, |
| 184 | const std::vector<ScalarExpr*>& build_exprs, |
| 185 | const std::vector<ScalarExpr*>& probe_exprs, bool stores_nulls, |
| 186 | const std::vector<bool>& finds_nulls, int32_t initial_seed, int max_levels, |
| 187 | int num_build_tuples, MemPool* expr_perm_pool, MemPool* build_expr_results_pool, |
| 188 | MemPool* probe_expr_results_pool, scoped_ptr<HashTableCtx>* ht_ctx) { |
| 189 | ht_ctx->reset(new HashTableCtx(build_exprs, probe_exprs, stores_nulls, |
| 190 | finds_nulls, initial_seed, max_levels, expr_perm_pool, |
| 191 | build_expr_results_pool, probe_expr_results_pool)); |
| 192 | return (*ht_ctx)->Init(pool, state, num_build_tuples); |
| 193 | } |
| 194 | |
| 195 | Status HashTableCtx::Create(ObjectPool* pool, RuntimeState* state, |
| 196 | const HashTableConfig& config, int32_t initial_seed, int max_levels, |