libQtCassandra 0.3.2
|
Classes | |
class | QCassandra |
The Cassandra class definition. More... | |
class | QCassandraCell |
A cell holds a name and value pair. More... | |
class | QCassandraColumnDefinition |
Hold a Cassandra column definition. More... | |
class | QCassandraColumnDefinitionPrivate |
Overload the ColumnDef to handle details. More... | |
class | QCassandraColumnNamePredicate |
A column predicate using a list of column names. More... | |
class | QCassandraColumnPredicate |
Test to search for columns. More... | |
class | QCassandraColumnRangePredicate |
Define a range of columns. More... | |
class | QCassandraContext |
Hold a Cassandra keyspace definition. More... | |
class | QCassandraContextPrivate |
Overload the KsDef to handle details. More... | |
class | QCassandraPrivate |
Private data for the QCassandra class. More... | |
class | QCassandraRow |
The row class to hold a set of cells. More... | |
class | QCassandraRowPredicate |
The row predicate to constrain the number of rows to return. More... | |
class | QCassandraTable |
Defines a table and may hold a Cassandra column family definition. More... | |
class | QCassandraTablePrivate |
Overload the CfDef to handle details. More... | |
class | QCassandraValue |
Holds a cell value. More... | |
Typedefs | |
typedef int | cassandra_consistency_level_t |
typedef controlled_vars::limited_auto_init < int32_t, 1, INT_MAX, 100 > | cassandra_count_t |
typedef controlled_vars::auto_init < cassandra_consistency_level_t,-1 > | consistency_level_t |
typedef QMap< QByteArray, QSharedPointer< QCassandraCell > > | QCassandraCells |
typedef QMap< QString, QSharedPointer < QCassandraColumnDefinition > > | QCassandraColumnDefinitions |
typedef QMap< QString, QSharedPointer < QCassandraContext > > | QCassandraContexts |
typedef QMap< QByteArray, QSharedPointer< QCassandraRow > > | QCassandraRows |
typedef QMap< QString, QSharedPointer < QCassandraTable > > | QCassandraTables |
Functions | |
void | appendBinaryValue (QByteArray &array, const QByteArray &value) |
void | appendBoolValue (QByteArray &array, bool value) |
void | appendCharValue (QByteArray &array, const char value) |
void | appendDoubleValue (QByteArray &array, double value) |
void | appendFloatValue (QByteArray &array, float value) |
void | appendInt16Value (QByteArray &array, int16_t value) |
void | appendInt32Value (QByteArray &array, int32_t value) |
void | appendInt64Value (QByteArray &array, int64_t value) |
void | appendSignedCharValue (QByteArray &array, signed char value) |
void | appendStringValue (QByteArray &array, const QString &value) |
void | appendUInt16Value (QByteArray &array, uint16_t value) |
void | appendUInt32Value (QByteArray &array, uint32_t value) |
void | appendUInt64Value (QByteArray &array, uint64_t value) |
void | appendUnsignedCharValue (QByteArray &array, unsigned char value) |
void | setBinaryValue (QByteArray &array, const QByteArray &value) |
void | setBoolValue (QByteArray &array, bool value) |
void | setCharValue (QByteArray &array, const char value) |
void | setDoubleValue (QByteArray &array, double value) |
void | setFloatValue (QByteArray &array, float value) |
void | setInt16Value (QByteArray &array, int16_t value) |
void | setInt32Value (QByteArray &array, int32_t value) |
void | setInt64Value (QByteArray &array, int64_t value) |
void | setNullValue (QByteArray &array) |
void | setSignedCharValue (QByteArray &array, signed char value) |
void | setStringValue (QByteArray &array, const QString &value) |
void | setUInt16Value (QByteArray &array, uint16_t value) |
void | setUInt32Value (QByteArray &array, uint32_t value) |
void | setUInt64Value (QByteArray &array, uint64_t value) |
void | setUnsignedCharValue (QByteArray &array, unsigned char value) |
Variables | |
const cassandra_consistency_level_t | CONSISTENCY_LEVEL_ALL = org::apache::cassandra::ConsistencyLevel::ALL |
const cassandra_consistency_level_t | CONSISTENCY_LEVEL_ANY = org::apache::cassandra::ConsistencyLevel::ANY |
const cassandra_consistency_level_t | CONSISTENCY_LEVEL_DEFAULT = -1 |
Ask the system to use the default consistency level. | |
const cassandra_consistency_level_t | CONSISTENCY_LEVEL_EACH_QUORUM = org::apache::cassandra::ConsistencyLevel::EACH_QUORUM |
const cassandra_consistency_level_t | CONSISTENCY_LEVEL_LOCAL_QUORUM = org::apache::cassandra::ConsistencyLevel::LOCAL_QUORUM |
const cassandra_consistency_level_t | CONSISTENCY_LEVEL_ONE = org::apache::cassandra::ConsistencyLevel::ONE |
const cassandra_consistency_level_t | CONSISTENCY_LEVEL_QUORUM = org::apache::cassandra::ConsistencyLevel::QUORUM |
const cassandra_consistency_level_t | CONSISTENCY_LEVEL_THREE = org::apache::cassandra::ConsistencyLevel::THREE |
const cassandra_consistency_level_t | CONSISTENCY_LEVEL_TWO = org::apache::cassandra::ConsistencyLevel::TWO |
static const int | QT_CASSANDRA_LIBRARY_VERSION_MAJOR = @LIBQTCASSANDRA_VERSION_MAJOR@ |
static const int | QT_CASSANDRA_LIBRARY_VERSION_MINOR = @LIBQTCASSANDRA_VERSION_MINOR@ |
static const int | QT_CASSANDRA_LIBRARY_VERSION_PATCH = @LIBQTCASSANDRA_VERSION_PATCH@ |
static const char * | QT_CASSANDRA_LIBRARY_VERSION_STRING = "@LIBQTCASSANDRA_VERSION_MAJOR@.@LIBQTCASSANDRA_VERSION_MINOR@.@LIBQTCASSANDRA_VERSION_PATCH@" |
typedef int QtCassandra::cassandra_consistency_level_t |
Definition at line 54 of file QCassandraConsistencyLevel.h.
typedef controlled_vars::limited_auto_init<int32_t, 1, INT_MAX, 100> QtCassandra::cassandra_count_t |
Definition at line 49 of file QCassandraColumnPredicate.h.
typedef controlled_vars::auto_init<cassandra_consistency_level_t, -1> QtCassandra::consistency_level_t |
Definition at line 68 of file QCassandraConsistencyLevel.h.
typedef QMap<QByteArray, QSharedPointer<QCassandraCell> > QtCassandra::QCassandraCells |
Definition at line 83 of file QCassandraCell.h.
typedef QMap<QString, QSharedPointer<QCassandraColumnDefinition> > QtCassandra::QCassandraColumnDefinitions |
Definition at line 94 of file QCassandraColumnDefinition.h.
typedef QMap<QString, QSharedPointer<QCassandraContext> > QtCassandra::QCassandraContexts |
Definition at line 122 of file QCassandraContext.h.
typedef QMap<QByteArray, QSharedPointer<QCassandraRow> > QtCassandra::QCassandraRows |
Definition at line 96 of file QCassandraRow.h.
typedef QMap<QString, QSharedPointer<QCassandraTable> > QtCassandra::QCassandraTables |
Definition at line 198 of file QCassandraTable.h.
void QtCassandra::appendBinaryValue | ( | QByteArray & | array, |
const QByteArray & | value | ||
) | [inline] |
Definition at line 251 of file QCassandraValue.h.
void QtCassandra::appendBoolValue | ( | QByteArray & | array, |
bool | value | ||
) | [inline] |
Definition at line 60 of file QCassandraValue.h.
Referenced by setBoolValue().
void QtCassandra::appendCharValue | ( | QByteArray & | array, |
const char | value | ||
) | [inline] |
Definition at line 74 of file QCassandraValue.h.
Referenced by appendSignedCharValue(), appendUnsignedCharValue(), and setCharValue().
void QtCassandra::appendDoubleValue | ( | QByteArray & | array, |
double | value | ||
) | [inline] |
Definition at line 223 of file QCassandraValue.h.
References appendInt64Value().
void QtCassandra::appendFloatValue | ( | QByteArray & | array, |
float | value | ||
) | [inline] |
Definition at line 200 of file QCassandraValue.h.
References appendInt32Value().
void QtCassandra::appendInt16Value | ( | QByteArray & | array, |
int16_t | value | ||
) | [inline] |
Definition at line 106 of file QCassandraValue.h.
Referenced by appendUInt16Value(), and setInt16Value().
void QtCassandra::appendInt32Value | ( | QByteArray & | array, |
int32_t | value | ||
) | [inline] |
Definition at line 131 of file QCassandraValue.h.
Referenced by appendFloatValue(), appendUInt32Value(), and setInt32Value().
void QtCassandra::appendInt64Value | ( | QByteArray & | array, |
int64_t | value | ||
) | [inline] |
Definition at line 158 of file QCassandraValue.h.
Referenced by appendDoubleValue(), appendUInt64Value(), and setInt64Value().
void QtCassandra::appendSignedCharValue | ( | QByteArray & | array, |
signed char | value | ||
) | [inline] |
Definition at line 85 of file QCassandraValue.h.
References appendCharValue().
void QtCassandra::appendStringValue | ( | QByteArray & | array, |
const QString & | value | ||
) | [inline] |
Definition at line 240 of file QCassandraValue.h.
void QtCassandra::appendUInt16Value | ( | QByteArray & | array, |
uint16_t | value | ||
) | [inline] |
Definition at line 120 of file QCassandraValue.h.
References appendInt16Value().
void QtCassandra::appendUInt32Value | ( | QByteArray & | array, |
uint32_t | value | ||
) | [inline] |
Definition at line 147 of file QCassandraValue.h.
References appendInt32Value().
void QtCassandra::appendUInt64Value | ( | QByteArray & | array, |
uint64_t | value | ||
) | [inline] |
Definition at line 178 of file QCassandraValue.h.
References appendInt64Value().
void QtCassandra::appendUnsignedCharValue | ( | QByteArray & | array, |
unsigned char | value | ||
) | [inline] |
Definition at line 95 of file QCassandraValue.h.
References appendCharValue().
void QtCassandra::setBinaryValue | ( | QByteArray & | array, |
const QByteArray & | value | ||
) | [inline] |
Definition at line 246 of file QCassandraValue.h.
void QtCassandra::setBoolValue | ( | QByteArray & | array, |
bool | value | ||
) | [inline] |
Definition at line 67 of file QCassandraValue.h.
References appendBoolValue().
void QtCassandra::setCharValue | ( | QByteArray & | array, |
const char | value | ||
) | [inline] |
Definition at line 79 of file QCassandraValue.h.
References appendCharValue().
Referenced by setSignedCharValue(), and setUnsignedCharValue().
void QtCassandra::setDoubleValue | ( | QByteArray & | array, |
double | value | ||
) | [inline] |
Definition at line 212 of file QCassandraValue.h.
References setInt64Value().
void QtCassandra::setFloatValue | ( | QByteArray & | array, |
float | value | ||
) | [inline] |
Definition at line 189 of file QCassandraValue.h.
References setInt32Value().
void QtCassandra::setInt16Value | ( | QByteArray & | array, |
int16_t | value | ||
) | [inline] |
Definition at line 114 of file QCassandraValue.h.
References appendInt16Value().
Referenced by setUInt16Value().
void QtCassandra::setInt32Value | ( | QByteArray & | array, |
int32_t | value | ||
) | [inline] |
Definition at line 141 of file QCassandraValue.h.
References appendInt32Value().
Referenced by QtCassandra::QCassandraTable::exists(), setFloatValue(), and setUInt32Value().
void QtCassandra::setInt64Value | ( | QByteArray & | array, |
int64_t | value | ||
) | [inline] |
Definition at line 172 of file QCassandraValue.h.
References appendInt64Value().
Referenced by setDoubleValue(), and setUInt64Value().
void QtCassandra::setNullValue | ( | QByteArray & | array | ) | [inline] |
Definition at line 54 of file QCassandraValue.h.
void QtCassandra::setSignedCharValue | ( | QByteArray & | array, |
signed char | value | ||
) | [inline] |
Definition at line 90 of file QCassandraValue.h.
References setCharValue().
void QtCassandra::setStringValue | ( | QByteArray & | array, |
const QString & | value | ||
) | [inline] |
Definition at line 235 of file QCassandraValue.h.
void QtCassandra::setUInt16Value | ( | QByteArray & | array, |
uint16_t | value | ||
) | [inline] |
Definition at line 125 of file QCassandraValue.h.
References setInt16Value().
void QtCassandra::setUInt32Value | ( | QByteArray & | array, |
uint32_t | value | ||
) | [inline] |
Definition at line 152 of file QCassandraValue.h.
References setInt32Value().
void QtCassandra::setUInt64Value | ( | QByteArray & | array, |
uint64_t | value | ||
) | [inline] |
Definition at line 183 of file QCassandraValue.h.
References setInt64Value().
void QtCassandra::setUnsignedCharValue | ( | QByteArray & | array, |
unsigned char | value | ||
) | [inline] |
Definition at line 100 of file QCassandraValue.h.
References setCharValue().
const cassandra_consistency_level_t QtCassandra::CONSISTENCY_LEVEL_ALL = org::apache::cassandra::ConsistencyLevel::ALL |
Definition at line 58 of file QCassandraConsistencyLevel.cpp.
Referenced by QtCassandra::QCassandraValue::setConsistencyLevel(), and QtCassandra::QCassandra::setDefaultConsistencyLevel().
const cassandra_consistency_level_t QtCassandra::CONSISTENCY_LEVEL_ANY = org::apache::cassandra::ConsistencyLevel::ANY |
Definition at line 59 of file QCassandraConsistencyLevel.cpp.
Referenced by QtCassandra::QCassandraValue::setConsistencyLevel(), and QtCassandra::QCassandra::setDefaultConsistencyLevel().
It is possible to setup a consistency level in your QCassandra object. That is viewed as the default consistency level. To help you avoid having to define the consistency level in each object used to access the database, you can leave the consistency level to the default and then the QCassandra object consistency level will be used.
Definition at line 52 of file QCassandraConsistencyLevel.cpp.
Referenced by QtCassandra::QCassandraPrivate::getCellCount(), QtCassandra::QCassandraPrivate::getColumnSlice(), QtCassandra::QCassandraPrivate::getRowSlices(), QtCassandra::QCassandraPrivate::getValue(), QtCassandra::QCassandraPrivate::insertValue(), QtCassandra::QCassandraPrivate::remove(), and QtCassandra::QCassandraValue::setConsistencyLevel().
const cassandra_consistency_level_t QtCassandra::CONSISTENCY_LEVEL_EACH_QUORUM = org::apache::cassandra::ConsistencyLevel::EACH_QUORUM |
Definition at line 57 of file QCassandraConsistencyLevel.cpp.
Referenced by QtCassandra::QCassandraValue::setConsistencyLevel(), and QtCassandra::QCassandra::setDefaultConsistencyLevel().
const cassandra_consistency_level_t QtCassandra::CONSISTENCY_LEVEL_LOCAL_QUORUM = org::apache::cassandra::ConsistencyLevel::LOCAL_QUORUM |
Definition at line 56 of file QCassandraConsistencyLevel.cpp.
Referenced by QtCassandra::QCassandraValue::setConsistencyLevel(), and QtCassandra::QCassandra::setDefaultConsistencyLevel().
const cassandra_consistency_level_t QtCassandra::CONSISTENCY_LEVEL_ONE = org::apache::cassandra::ConsistencyLevel::ONE |
Definition at line 54 of file QCassandraConsistencyLevel.cpp.
Referenced by QtCassandra::QCassandraValue::setConsistencyLevel(), and QtCassandra::QCassandra::setDefaultConsistencyLevel().
const cassandra_consistency_level_t QtCassandra::CONSISTENCY_LEVEL_QUORUM = org::apache::cassandra::ConsistencyLevel::QUORUM |
Definition at line 55 of file QCassandraConsistencyLevel.cpp.
Referenced by QtCassandra::QCassandraValue::setConsistencyLevel(), and QtCassandra::QCassandra::setDefaultConsistencyLevel().
const cassandra_consistency_level_t QtCassandra::CONSISTENCY_LEVEL_THREE = org::apache::cassandra::ConsistencyLevel::THREE |
Definition at line 61 of file QCassandraConsistencyLevel.cpp.
Referenced by QtCassandra::QCassandraValue::setConsistencyLevel(), and QtCassandra::QCassandra::setDefaultConsistencyLevel().
const cassandra_consistency_level_t QtCassandra::CONSISTENCY_LEVEL_TWO = org::apache::cassandra::ConsistencyLevel::TWO |
Definition at line 60 of file QCassandraConsistencyLevel.cpp.
Referenced by QtCassandra::QCassandraValue::setConsistencyLevel(), and QtCassandra::QCassandra::setDefaultConsistencyLevel().
const int QtCassandra::QT_CASSANDRA_LIBRARY_VERSION_MAJOR = @LIBQTCASSANDRA_VERSION_MAJOR@ [static] |
Definition at line 46 of file QCassandra.h.in.
Referenced by QtCassandra::QCassandra::versionMajor().
const int QtCassandra::QT_CASSANDRA_LIBRARY_VERSION_MINOR = @LIBQTCASSANDRA_VERSION_MINOR@ [static] |
Definition at line 47 of file QCassandra.h.in.
Referenced by QtCassandra::QCassandra::versionMinor().
const int QtCassandra::QT_CASSANDRA_LIBRARY_VERSION_PATCH = @LIBQTCASSANDRA_VERSION_PATCH@ [static] |
Definition at line 48 of file QCassandra.h.in.
Referenced by QtCassandra::QCassandra::versionPatch().
const char* QtCassandra::QT_CASSANDRA_LIBRARY_VERSION_STRING = "@LIBQTCASSANDRA_VERSION_MAJOR@.@LIBQTCASSANDRA_VERSION_MINOR@.@LIBQTCASSANDRA_VERSION_PATCH@" [static] |
Definition at line 49 of file QCassandra.h.in.
Referenced by QtCassandra::QCassandra::version().
This document is part of the libQtCassandra Project.
Copyright by Made to Order Software Corp.