You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Reformat all code to coding standard
This commit is contained in:
@ -19,7 +19,7 @@
|
||||
// $Id: rtscommand.h 2035 2013-01-21 14:12:19Z rdempsey $
|
||||
// C++ Interface: rtscommand
|
||||
//
|
||||
// Description:
|
||||
// Description:
|
||||
//
|
||||
//
|
||||
// Author: Patrick <pleblanc@localhost.localdomain>, (C) 2008
|
||||
@ -39,38 +39,47 @@ namespace primitiveprocessor
|
||||
|
||||
class RTSCommand : public Command
|
||||
{
|
||||
public:
|
||||
RTSCommand();
|
||||
virtual ~RTSCommand();
|
||||
public:
|
||||
RTSCommand();
|
||||
virtual ~RTSCommand();
|
||||
|
||||
void execute();
|
||||
void project();
|
||||
void projectIntoRowGroup(rowgroup::RowGroup &rg, uint32_t col);
|
||||
uint64_t getLBID();
|
||||
void nextLBID();
|
||||
void createCommand(messageqcpp::ByteStream &);
|
||||
void resetCommand(messageqcpp::ByteStream &);
|
||||
SCommand duplicate();
|
||||
bool operator==(const RTSCommand &) const;
|
||||
bool operator!=(const RTSCommand &) const;
|
||||
|
||||
void setBatchPrimitiveProcessor(BatchPrimitiveProcessor *);
|
||||
void execute();
|
||||
void project();
|
||||
void projectIntoRowGroup(rowgroup::RowGroup& rg, uint32_t col);
|
||||
uint64_t getLBID();
|
||||
void nextLBID();
|
||||
void createCommand(messageqcpp::ByteStream&);
|
||||
void resetCommand(messageqcpp::ByteStream&);
|
||||
SCommand duplicate();
|
||||
bool operator==(const RTSCommand&) const;
|
||||
bool operator!=(const RTSCommand&) const;
|
||||
|
||||
/* Put bootstrap code here (ie, build the template primitive msg) */
|
||||
void prep(int8_t outputType, bool makeAbsRids);
|
||||
uint8_t isPassThru() { return passThru; }
|
||||
void setAbsNull(bool a = true) { absNull = a; }
|
||||
void getLBIDList(uint32_t loopCount, std::vector<int64_t> *lbids);
|
||||
void setBatchPrimitiveProcessor(BatchPrimitiveProcessor*);
|
||||
|
||||
//TODO: do we need to reference either col or dict?
|
||||
int getCompType() const { return dict.getCompType(); }
|
||||
private:
|
||||
RTSCommand(const RTSCommand &);
|
||||
/* Put bootstrap code here (ie, build the template primitive msg) */
|
||||
void prep(int8_t outputType, bool makeAbsRids);
|
||||
uint8_t isPassThru()
|
||||
{
|
||||
return passThru;
|
||||
}
|
||||
void setAbsNull(bool a = true)
|
||||
{
|
||||
absNull = a;
|
||||
}
|
||||
void getLBIDList(uint32_t loopCount, std::vector<int64_t>* lbids);
|
||||
|
||||
ColumnCommand col;
|
||||
DictStep dict;
|
||||
uint8_t passThru;
|
||||
bool absNull;
|
||||
//TODO: do we need to reference either col or dict?
|
||||
int getCompType() const
|
||||
{
|
||||
return dict.getCompType();
|
||||
}
|
||||
private:
|
||||
RTSCommand(const RTSCommand&);
|
||||
|
||||
ColumnCommand col;
|
||||
DictStep dict;
|
||||
uint8_t passThru;
|
||||
bool absNull;
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user