1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

chore(codestyle): mark virtual methods as override

This commit is contained in:
Aleksei Antipovskii
2024-09-12 12:27:02 +02:00
committed by Leonid Fedorov
parent 6001db44ab
commit 5556d818f8
303 changed files with 4091 additions and 4894 deletions

View File

@ -45,9 +45,9 @@ class ColumnCommand : public Command
public:
ColumnCommand();
ColumnCommand(execplan::CalpontSystemCatalog::ColType& aColType);
virtual ~ColumnCommand();
~ColumnCommand() override;
inline uint64_t getLBID()
inline uint64_t getLBID() override
{
return lbid;
}
@ -68,12 +68,12 @@ class ColumnCommand : public Command
return colType;
}
void execute();
void execute() override;
void execute(int64_t* vals); // used by RTSCommand to redirect values
virtual void prep(int8_t outputType, bool absRids);
void project();
void projectIntoRowGroup(rowgroup::RowGroup& rg, uint32_t pos);
void nextLBID();
void prep(int8_t outputType, bool absRids) override;
void project() override;
void projectIntoRowGroup(rowgroup::RowGroup& rg, uint32_t pos) override;
void nextLBID() override;
bool isScan()
{
return _isScan;
@ -88,18 +88,18 @@ class ColumnCommand : public Command
return lbidAux;
}
void createCommand(messageqcpp::ByteStream&);
void createCommand(messageqcpp::ByteStream&) override;
void createCommand(execplan::CalpontSystemCatalog::ColType& aColType, messageqcpp::ByteStream&);
void resetCommand(messageqcpp::ByteStream&);
void setMakeAbsRids(bool m)
void resetCommand(messageqcpp::ByteStream&) override;
void setMakeAbsRids(bool m) override
{
makeAbsRids = m;
}
bool willPrefetch();
int64_t getLastLbid();
void getLBIDList(uint32_t loopCount, std::vector<int64_t>* lbids);
void getLBIDList(uint32_t loopCount, std::vector<int64_t>* lbids) override;
virtual SCommand duplicate();
SCommand duplicate() override;
bool operator==(const ColumnCommand&) const;
bool operator!=(const ColumnCommand&) const;
@ -111,7 +111,7 @@ class ColumnCommand : public Command
void disableFilters();
void enableFilters();
int getCompType() const
int getCompType() const override
{
return colType.compressionType;
}
@ -321,4 +321,3 @@ inline void ColumnCommand::fillEmptyBlock<messageqcpp::ByteStream::hexbyte>(uint
}
} // namespace primitiveprocessor