libQtCassandra 0.3.2

QCassandraConsistencyLevel.cpp

Go to the documentation of this file.
00001 /*
00002  * Text:
00003  *      QCassandra.cpp
00004  *
00005  * Description:
00006  *      Handling of the cassandra::CassandraClient and corresponding transports,
00007  *      protocols, sockets, etc.
00008  *
00009  * Documentation:
00010  *      See each function below.
00011  *
00012  * License:
00013  *      Copyright (c) 2011 Made to Order Software Corp.
00014  * 
00015  *      http://snapwebsites.org/
00016  *      contact@m2osw.com
00017  * 
00018  *      Permission is hereby granted, free of charge, to any person obtaining a
00019  *      copy of this software and associated documentation files (the
00020  *      "Software"), to deal in the Software without restriction, including
00021  *      without limitation the rights to use, copy, modify, merge, publish,
00022  *      distribute, sublicense, and/or sell copies of the Software, and to
00023  *      permit persons to whom the Software is furnished to do so, subject to
00024  *      the following conditions:
00025  *
00026  *      The above copyright notice and this permission notice shall be included
00027  *      in all copies or substantial portions of the Software.
00028  *
00029  *      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
00030  *      OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00031  *      MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
00032  *      IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
00033  *      CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
00034  *      TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
00035  *      SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00036  */
00037 
00038 #include "QtCassandra/QCassandraConsistencyLevel.h"
00039 #include "thrift-gencpp-cassandra/Cassandra.h"
00040 
00041 namespace QtCassandra
00042 {
00043 
00052 const cassandra_consistency_level_t CONSISTENCY_LEVEL_DEFAULT      = -1;
00053 
00054 const cassandra_consistency_level_t CONSISTENCY_LEVEL_ONE          = org::apache::cassandra::ConsistencyLevel::ONE;
00055 const cassandra_consistency_level_t CONSISTENCY_LEVEL_QUORUM       = org::apache::cassandra::ConsistencyLevel::QUORUM;
00056 const cassandra_consistency_level_t CONSISTENCY_LEVEL_LOCAL_QUORUM = org::apache::cassandra::ConsistencyLevel::LOCAL_QUORUM;
00057 const cassandra_consistency_level_t CONSISTENCY_LEVEL_EACH_QUORUM  = org::apache::cassandra::ConsistencyLevel::EACH_QUORUM;
00058 const cassandra_consistency_level_t CONSISTENCY_LEVEL_ALL          = org::apache::cassandra::ConsistencyLevel::ALL;
00059 const cassandra_consistency_level_t CONSISTENCY_LEVEL_ANY          = org::apache::cassandra::ConsistencyLevel::ANY;
00060 const cassandra_consistency_level_t CONSISTENCY_LEVEL_TWO          = org::apache::cassandra::ConsistencyLevel::TWO;
00061 const cassandra_consistency_level_t CONSISTENCY_LEVEL_THREE        = org::apache::cassandra::ConsistencyLevel::THREE;
00062 
00063 } // namespace QtCassandra
00064 // vim: ts=4 sw=4 et
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

This document is part of the libQtCassandra Project.

Copyright by Made to Order Software Corp.