patch 4.0
This commit is contained in:
@ -18,20 +18,38 @@
|
||||
#include "common/object/ob_obj_compare.h"
|
||||
#include "lib/charset/ob_charset.h"
|
||||
|
||||
namespace oceanbase {
|
||||
namespace common {
|
||||
class ObDatum;
|
||||
namespace oceanbase
|
||||
{
|
||||
namespace common
|
||||
{
|
||||
struct ObDatum;
|
||||
}
|
||||
namespace sql {
|
||||
typedef int (*DatumCmpFunc)(const common::ObDatum& datum1, const common::ObDatum& datum2);
|
||||
class ObExprCmpFuncsHelper {
|
||||
namespace sql
|
||||
{
|
||||
typedef int (*DatumCmpFunc)(const common::ObDatum &datum1, const common::ObDatum &datum2);
|
||||
class ObExprCmpFuncsHelper
|
||||
{
|
||||
public:
|
||||
static sql::ObExpr::EvalFunc get_eval_expr_cmp_func(const common::ObObjType type1, const common::ObObjType type2,
|
||||
const common::ObCmpOp cmp_op, const bool is_oracle_mode, const common::ObCollationType cs_type);
|
||||
static sql::ObExpr::EvalFunc get_eval_expr_cmp_func(
|
||||
const common::ObObjType type1,
|
||||
const common::ObObjType type2,
|
||||
const common::ObCmpOp cmp_op,
|
||||
const bool is_oracle_mode,
|
||||
const common::ObCollationType cs_type);
|
||||
|
||||
static DatumCmpFunc get_datum_expr_cmp_func(const common::ObObjType type1, const common::ObObjType type2,
|
||||
const bool is_oracle_mode, const common::ObCollationType cs_type);
|
||||
static sql::ObExpr::EvalBatchFunc get_eval_batch_expr_cmp_func(
|
||||
const common::ObObjType type1,
|
||||
const common::ObObjType type2,
|
||||
const common::ObCmpOp cmp_op,
|
||||
const bool is_oracle_mode,
|
||||
const common::ObCollationType cs_type);
|
||||
|
||||
static DatumCmpFunc get_datum_expr_cmp_func(
|
||||
const common::ObObjType type1,
|
||||
const common::ObObjType type2,
|
||||
const bool is_oracle_mode,
|
||||
const common::ObCollationType cs_type);
|
||||
};
|
||||
} // namespace sql
|
||||
} // end namespace oceanbase
|
||||
#endif // !OCEANBASE_EXPR_CMP_FUNC_H_
|
||||
}
|
||||
} // end namespace oceanbase
|
||||
#endif // !OCEANBASE_EXPR_CMP_FUNC_H_
|
||||
|
||||
Reference in New Issue
Block a user