You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-4030: Fix most of the overloaded-virtual warnings.
This commit is contained in:
@ -156,53 +156,66 @@ public:
|
||||
{
|
||||
fOp = op;
|
||||
}
|
||||
using TreeNode::evaluate;
|
||||
virtual void evaluate(rowgroup::Row& row, bool& isNull, ParseTree* lop, ParseTree* rop) {}
|
||||
|
||||
// The following methods should be pure virtual. Currently too many instanslization exists.
|
||||
using TreeNode::getStrVal;
|
||||
virtual const std::string& getStrVal(rowgroup::Row& row, bool& isNull, ParseTree* lop, ParseTree* rop)
|
||||
{
|
||||
return fResult.strVal;
|
||||
}
|
||||
using TreeNode::getIntVal;
|
||||
virtual int64_t getIntVal(rowgroup::Row& row, bool& isNull, ParseTree* lop, ParseTree* rop)
|
||||
{
|
||||
return fResult.intVal;
|
||||
}
|
||||
using TreeNode::getUintVal;
|
||||
virtual uint64_t getUintVal(rowgroup::Row& row, bool& isNull, ParseTree* lop, ParseTree* rop)
|
||||
{
|
||||
return fResult.uintVal;
|
||||
}
|
||||
using TreeNode::getFloatVal;
|
||||
virtual float getFloatVal(rowgroup::Row& row, bool& isNull, ParseTree* lop, ParseTree* rop)
|
||||
{
|
||||
return fResult.floatVal;
|
||||
}
|
||||
using TreeNode::getDoubleVal;
|
||||
virtual double getDoubleVal(rowgroup::Row& row, bool& isNull, ParseTree* lop, ParseTree* rop)
|
||||
{
|
||||
return fResult.doubleVal;
|
||||
}
|
||||
using TreeNode::getLongDoubleVal;
|
||||
virtual long double getLongDoubleVal(rowgroup::Row& row, bool& isNull, ParseTree* lop, ParseTree* rop)
|
||||
{
|
||||
return fResult.longDoubleVal;
|
||||
}
|
||||
using TreeNode::getDecimalVal;
|
||||
virtual IDB_Decimal getDecimalVal(rowgroup::Row& row, bool& isNull, ParseTree* lop, ParseTree* rop)
|
||||
{
|
||||
return fResult.decimalVal;
|
||||
}
|
||||
using TreeNode::getDateIntVal;
|
||||
virtual int32_t getDateIntVal(rowgroup::Row& row, bool& isNull, ParseTree* lop, ParseTree* rop)
|
||||
{
|
||||
return fResult.intVal;
|
||||
}
|
||||
using TreeNode::getDatetimeIntVal;
|
||||
virtual int64_t getDatetimeIntVal(rowgroup::Row& row, bool& isNull, ParseTree* lop, ParseTree* rop)
|
||||
{
|
||||
return fResult.intVal;
|
||||
}
|
||||
using TreeNode::getTimestampIntVal;
|
||||
virtual int64_t getTimestampIntVal(rowgroup::Row& row, bool& isNull, ParseTree* lop, ParseTree* rop)
|
||||
{
|
||||
return fResult.intVal;
|
||||
}
|
||||
using TreeNode::getTimeIntVal;
|
||||
virtual int64_t getTimeIntVal(rowgroup::Row& row, bool& isNull, ParseTree* lop, ParseTree* rop)
|
||||
{
|
||||
return fResult.intVal;
|
||||
}
|
||||
using TreeNode::getBoolVal;
|
||||
virtual bool getBoolVal(rowgroup::Row& row, bool& isNull, ParseTree* lop, ParseTree* rop)
|
||||
{
|
||||
return fResult.boolVal;
|
||||
|
Reference in New Issue
Block a user