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
Reformat all code to coding standard
This commit is contained in:
@ -27,14 +27,16 @@
|
||||
#include <string>
|
||||
#include <boost/shared_ptr.hpp>
|
||||
|
||||
namespace messageqcpp {
|
||||
class ByteStream;
|
||||
namespace messageqcpp
|
||||
{
|
||||
class ByteStream;
|
||||
}
|
||||
|
||||
/**
|
||||
* Namespace
|
||||
*/
|
||||
namespace execplan {
|
||||
namespace execplan
|
||||
{
|
||||
/**
|
||||
* ******************************* Abstract Class ****************************
|
||||
* CalpontExecutionPlan does not have any pure virtual methods, but its author
|
||||
@ -42,99 +44,100 @@ namespace execplan {
|
||||
* Inherit from it instead and create only objects from the derived classes
|
||||
* *****************************************************************************
|
||||
*/
|
||||
class CalpontExecutionPlan {
|
||||
/**
|
||||
* Public stuff
|
||||
*/
|
||||
class CalpontExecutionPlan
|
||||
{
|
||||
/**
|
||||
* Public stuff
|
||||
*/
|
||||
public:
|
||||
|
||||
/**
|
||||
* Constructors
|
||||
*/
|
||||
CalpontExecutionPlan();
|
||||
/**
|
||||
* Destructors
|
||||
*/
|
||||
virtual ~CalpontExecutionPlan();
|
||||
/**
|
||||
* Accessor Methods
|
||||
*/
|
||||
/**
|
||||
* Operations
|
||||
*/
|
||||
/*
|
||||
* The serialization interface
|
||||
*/
|
||||
/** @brief Convert *this to a stream of bytes
|
||||
*
|
||||
* Convert *this to a stream of bytes.
|
||||
* @param b The ByteStream to write the bytes to.
|
||||
*/
|
||||
virtual void serialize(messageqcpp::ByteStream& b) const = 0;
|
||||
|
||||
/** @brief Construct a CalpontExecutionPlan from a stream of bytes
|
||||
*
|
||||
* Construct a CalpontExecutionPlan from a stream of bytes.
|
||||
* @param b The ByteStream to read from.
|
||||
*/
|
||||
virtual void unserialize(messageqcpp::ByteStream& b) = 0;
|
||||
|
||||
/** @brief Do a deep, strict (as opposed to semantic) equivalence test
|
||||
*
|
||||
* Do a deep, strict (as opposed to semantic) equivalence test.
|
||||
* @return true iff every member of t is a duplicate copy of every member of this; false otherwise
|
||||
*/
|
||||
virtual bool operator==(const CalpontExecutionPlan* t) const = 0;
|
||||
|
||||
/** @brief Do a deep, strict (as opposed to semantic) equivalence test
|
||||
*
|
||||
* Do a deep, strict (as opposed to semantic) equivalence test.
|
||||
* @return false iff every member of t is a duplicate copy of every member of this; true otherwise
|
||||
*/
|
||||
virtual bool operator!=(const CalpontExecutionPlan* t) const = 0;
|
||||
|
||||
/**
|
||||
* Protected stuff
|
||||
*/
|
||||
/**
|
||||
* Constructors
|
||||
*/
|
||||
CalpontExecutionPlan();
|
||||
/**
|
||||
* Destructors
|
||||
*/
|
||||
virtual ~CalpontExecutionPlan();
|
||||
/**
|
||||
* Accessor Methods
|
||||
*/
|
||||
/**
|
||||
* Operations
|
||||
*/
|
||||
/*
|
||||
* The serialization interface
|
||||
*/
|
||||
/** @brief Convert *this to a stream of bytes
|
||||
*
|
||||
* Convert *this to a stream of bytes.
|
||||
* @param b The ByteStream to write the bytes to.
|
||||
*/
|
||||
virtual void serialize(messageqcpp::ByteStream& b) const = 0;
|
||||
|
||||
/** @brief Construct a CalpontExecutionPlan from a stream of bytes
|
||||
*
|
||||
* Construct a CalpontExecutionPlan from a stream of bytes.
|
||||
* @param b The ByteStream to read from.
|
||||
*/
|
||||
virtual void unserialize(messageqcpp::ByteStream& b) = 0;
|
||||
|
||||
/** @brief Do a deep, strict (as opposed to semantic) equivalence test
|
||||
*
|
||||
* Do a deep, strict (as opposed to semantic) equivalence test.
|
||||
* @return true iff every member of t is a duplicate copy of every member of this; false otherwise
|
||||
*/
|
||||
virtual bool operator==(const CalpontExecutionPlan* t) const = 0;
|
||||
|
||||
/** @brief Do a deep, strict (as opposed to semantic) equivalence test
|
||||
*
|
||||
* Do a deep, strict (as opposed to semantic) equivalence test.
|
||||
* @return false iff every member of t is a duplicate copy of every member of this; true otherwise
|
||||
*/
|
||||
virtual bool operator!=(const CalpontExecutionPlan* t) const = 0;
|
||||
|
||||
/**
|
||||
* Protected stuff
|
||||
*/
|
||||
protected:
|
||||
/**
|
||||
* Fields
|
||||
*/
|
||||
/**
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Constructors
|
||||
*/
|
||||
/**
|
||||
* Accessor Methods
|
||||
*/
|
||||
/**
|
||||
* Operations
|
||||
*/
|
||||
/**
|
||||
* Private stuff
|
||||
*/
|
||||
/**
|
||||
* Fields
|
||||
*/
|
||||
/**
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Constructors
|
||||
*/
|
||||
/**
|
||||
* Accessor Methods
|
||||
*/
|
||||
/**
|
||||
* Operations
|
||||
*/
|
||||
/**
|
||||
* Private stuff
|
||||
*/
|
||||
private:
|
||||
/**
|
||||
* Fields
|
||||
*/
|
||||
/**
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Constructors
|
||||
*/
|
||||
/**
|
||||
* Accessor Methods
|
||||
*/
|
||||
/**
|
||||
* Operations
|
||||
*/
|
||||
/**
|
||||
* Fields
|
||||
*/
|
||||
/**
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* Constructors
|
||||
*/
|
||||
/**
|
||||
* Accessor Methods
|
||||
*/
|
||||
/**
|
||||
* Operations
|
||||
*/
|
||||
};
|
||||
|
||||
typedef boost::shared_ptr<CalpontExecutionPlan> SCEP;
|
||||
|
||||
}
|
||||
}
|
||||
#endif //CALPONTEXECUTIONPLAN_H
|
||||
|
||||
|
Reference in New Issue
Block a user