http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/2a9efc4e/storage/HashTableBase.hpp ---------------------------------------------------------------------- diff --git a/storage/HashTableBase.hpp b/storage/HashTableBase.hpp index 5526164..b908d6f 100644 --- a/storage/HashTableBase.hpp +++ b/storage/HashTableBase.hpp @@ -23,8 +23,8 @@ #include <cstddef> #include <vector> -#include "utility/Macros.hpp" #include "ValueAccessor.hpp" +#include "utility/Macros.hpp" namespace quickstep { @@ -57,11 +57,7 @@ struct HashTablePreallocationState { * @brief Codes which indicate the result of a call to put() or * putCompositeKey(). **/ -enum class HashTablePutResult { - kOK = 0, - kDuplicateKey, - kOutOfSpace -}; +enum class HashTablePutResult { kOK = 0, kDuplicateKey, kOutOfSpace }; /** * @brief An ultra-minimal base class that HashTables with different ValueT @@ -76,17 +72,19 @@ template <bool resizable, bool allow_duplicate_keys> class HashTableBase { public: - virtual ~HashTableBase() { - } + virtual ~HashTableBase() {} + virtual bool upsertValueAccessorCompositeKeyFast( const std::vector<std::vector<attribute_id>> &argument, ValueAccessor *accessor, const std::vector<attribute_id> &key_attr_ids, - const bool check_for_null_keys) {return false;} - protected: - HashTableBase() { + const bool check_for_null_keys) { + return false; } + protected: + HashTableBase() {} + private: DISALLOW_COPY_AND_ASSIGN(HashTableBase); };
- [21/29] incubator-quickstep git commit: Initial commit for part... hbdeshmukh
- [18/29] incubator-quickstep git commit: Removed some dead code ... hbdeshmukh
- [08/29] incubator-quickstep git commit: Initial commit for QUIC... hbdeshmukh
- [25/29] incubator-quickstep git commit: Parallel work order gen... hbdeshmukh
- [22/29] incubator-quickstep git commit: Added function to aggre... hbdeshmukh
- [24/29] incubator-quickstep git commit: Created method for part... hbdeshmukh
- [27/29] incubator-quickstep git commit: New operator to destroy... hbdeshmukh
- [03/29] incubator-quickstep git commit: Fixed cyclic dependenci... hbdeshmukh
- [29/29] incubator-quickstep git commit: Changes due to rebasing... hbdeshmukh
- [15/29] incubator-quickstep git commit: Modified Aggregation un... hbdeshmukh
- [11/29] incubator-quickstep git commit: Modified Aggregation un... hbdeshmukh
- [28/29] incubator-quickstep git commit: Added new workorder to ... hbdeshmukh
- [04/29] incubator-quickstep git commit: reinterpreted byte to S... hbdeshmukh
- [19/29] incubator-quickstep git commit: Removed some dead code ... hbdeshmukh
- [05/29] incubator-quickstep git commit: Fixed 4 failures on uni... hbdeshmukh
- [14/29] incubator-quickstep git commit: Modified Aggregation un... hbdeshmukh
- [16/29] incubator-quickstep git commit: Modified Aggregation un... hbdeshmukh
- [12/29] incubator-quickstep git commit: Modified Aggregation un... hbdeshmukh
- [09/29] incubator-quickstep git commit: Initial commit for QUIC... hbdeshmukh
- [07/29] incubator-quickstep git commit: Initial commit for QUIC... hbdeshmukh
- [17/29] incubator-quickstep git commit: Modified Aggregation un... hbdeshmukh