opt expr find_in_set

This commit is contained in:
wjhh2008
2023-08-10 04:18:37 +00:00
committed by ob-robot
parent 3c91389ff2
commit 1866f396db
4 changed files with 172 additions and 3 deletions

View File

@ -35,6 +35,7 @@
#include "sql/engine/expr/ob_expr_cmp_func.h"
#include "sql/engine/expr/ob_expr_extra_info_factory.h"
#include "sql/engine/expr/ob_i_expr_extra_info.h"
#include "lib/hash/ob_hashset.h"
#define GET_EXPR_CTX(ClassType, ctx, id) static_cast<ClassType *>((ctx).get_expr_op_ctx(id))
@ -2031,6 +2032,17 @@ private:
common::ObFixedBitSet<common::OB_DEFAULT_BITSET_SIZE_FOR_DFM> elem_flags_;
};
class ObExprFindIntCachedValue : public ObExprOperatorCtx
{
typedef common::hash::ObHashMap<common::ObString, uint64_t, hash::NoPthreadDefendMode> HASH_MAP_TYPE;
public:
ObExprFindIntCachedValue() {}
virtual ~ObExprFindIntCachedValue();
HASH_MAP_TYPE &get_hashmap() { return hash_map_; }
private:
HASH_MAP_TYPE hash_map_;
};
class ObExprTRDateFormat
{
public: