1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

Reformat all code to coding standard

This commit is contained in:
Andrew Hutchings
2017-10-26 17:18:17 +01:00
parent 4985f3456e
commit 01446d1e22
1296 changed files with 403852 additions and 353747 deletions

View File

@@ -41,28 +41,34 @@ namespace joblist
class RTSCommandJL : public CommandJL
{
public:
RTSCommandJL(const pColStep &, const pDictionaryStep &);
RTSCommandJL(const PassThruStep &, const pDictionaryStep &);
virtual ~RTSCommandJL();
public:
RTSCommandJL(const pColStep&, const pDictionaryStep&);
RTSCommandJL(const PassThruStep&, const pDictionaryStep&);
virtual ~RTSCommandJL();
void setLBID(uint64_t data, uint32_t dbroot); // converts a rid or dictionary token to an LBID. For ColumnCommandJL it's a RID, for a DictStep it's a token.
uint8_t getTableColumnType();
std::string toString();
bool isPassThru() { return (passThru != 0); }
uint16_t getWidth();
CommandType getCommandType() { return RID_TO_STRING; }
void setLBID(uint64_t data, uint32_t dbroot); // converts a rid or dictionary token to an LBID. For ColumnCommandJL it's a RID, for a DictStep it's a token.
uint8_t getTableColumnType();
std::string toString();
bool isPassThru()
{
return (passThru != 0);
}
uint16_t getWidth();
CommandType getCommandType()
{
return RID_TO_STRING;
}
void createCommand(messageqcpp::ByteStream &) const;
void runCommand(messageqcpp::ByteStream &) const;
void createCommand(messageqcpp::ByteStream&) const;
void runCommand(messageqcpp::ByteStream&) const;
private:
RTSCommandJL();
RTSCommandJL(const RTSCommandJL &);
private:
RTSCommandJL();
RTSCommandJL(const RTSCommandJL&);
boost::scoped_ptr<ColumnCommandJL> col;
boost::scoped_ptr<DictStepJL> dict;
uint8_t passThru;
boost::scoped_ptr<ColumnCommandJL> col;
boost::scoped_ptr<DictStepJL> dict;
uint8_t passThru;
};
};