1 #ifndef GIKOMONA_CORE_QUERY_HPP_INCLUDED
2 #define GIKOMONA_CORE_QUERY_HPP_INCLUDED
6 #include <boost/mpl/bool.hpp>
8 #include "GikoMona.hpp"
10 namespace monazilla { namespace GikoMona { namespace core {
13 * @note このクラスは boost::lockfree::queue<> の制約から
14 * trivially copyable の要件を満たす必要がある。
15 * (参考:http://d.hatena.ne.jp/faith_and_brave/20130213/1360737911 )
18 template <typename ValueType>
27 struct select_all_column {} all_columnes;
29 select_& distinct() {}
30 select_& group_by() {}
36 typedef std::vector<mona_string> column_name_list;
41 query& define() { return (*this); }
42 select_ select(const column_name_list& columnes,
43 const mona_string& from) {
44 return select_(*this);
46 select_ select(typename select_::select_all_column dummy,
47 const mona_string& from) {
48 return select_(*this);
50 query& insert(const mona_string& into) {}
57 struct is_responsible_to_query : public boost::mpl::false_ {};