libQtCassandra: QtCassandra Namespace Reference

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 Documentation

typedef controlled_vars::limited_auto_init<int32_t, 1, INT_MAX, 100> QtCassandra::cassandra_count_t

Definition at line 48 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.

Definition at line 94 of file QCassandraColumnDefinition.h.

typedef QMap<QString, QSharedPointer<QCassandraContext> > QtCassandra::QCassandraContexts

Definition at line 120 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 199 of file QCassandraTable.h.


Function Documentation

void QtCassandra::appendBinaryValue ( QByteArray &  array,
const QByteArray &  value 
) [inline]

Definition at line 250 of file QCassandraValue.h.

void QtCassandra::appendBoolValue ( QByteArray &  array,
bool  value 
) [inline]

Definition at line 59 of file QCassandraValue.h.

Referenced by setBoolValue().

void QtCassandra::appendCharValue ( QByteArray &  array,
const char  value 
) [inline]

Definition at line 73 of file QCassandraValue.h.

Referenced by appendSignedCharValue(), appendUnsignedCharValue(), and setCharValue().

void QtCassandra::appendDoubleValue ( QByteArray &  array,
double  value 
) [inline]

Definition at line 222 of file QCassandraValue.h.

References appendInt64Value().

void QtCassandra::appendFloatValue ( QByteArray &  array,
float  value 
) [inline]

Definition at line 199 of file QCassandraValue.h.

References appendInt32Value().

void QtCassandra::appendInt16Value ( QByteArray &  array,
int16_t  value 
) [inline]

Definition at line 105 of file QCassandraValue.h.

Referenced by appendUInt16Value(), and setInt16Value().

void QtCassandra::appendInt32Value ( QByteArray &  array,
int32_t  value 
) [inline]

Definition at line 130 of file QCassandraValue.h.

Referenced by appendFloatValue(), appendUInt32Value(), and setInt32Value().

void QtCassandra::appendInt64Value ( QByteArray &  array,
int64_t  value 
) [inline]

Definition at line 157 of file QCassandraValue.h.

Referenced by appendDoubleValue(), appendUInt64Value(), and setInt64Value().

void QtCassandra::appendSignedCharValue ( QByteArray &  array,
signed char  value 
) [inline]

Definition at line 84 of file QCassandraValue.h.

References appendCharValue().

void QtCassandra::appendStringValue ( QByteArray &  array,
const QString &  value 
) [inline]

Definition at line 239 of file QCassandraValue.h.

void QtCassandra::appendUInt16Value ( QByteArray &  array,
uint16_t  value 
) [inline]

Definition at line 119 of file QCassandraValue.h.

References appendInt16Value().

void QtCassandra::appendUInt32Value ( QByteArray &  array,
uint32_t  value 
) [inline]

Definition at line 146 of file QCassandraValue.h.

References appendInt32Value().

void QtCassandra::appendUInt64Value ( QByteArray &  array,
uint64_t  value 
) [inline]

Definition at line 177 of file QCassandraValue.h.

References appendInt64Value().

void QtCassandra::appendUnsignedCharValue ( QByteArray &  array,
unsigned char  value 
) [inline]

Definition at line 94 of file QCassandraValue.h.

References appendCharValue().

void QtCassandra::setBinaryValue ( QByteArray &  array,
const QByteArray &  value 
) [inline]

Definition at line 245 of file QCassandraValue.h.

void QtCassandra::setBoolValue ( QByteArray &  array,
bool  value 
) [inline]

Definition at line 66 of file QCassandraValue.h.

References appendBoolValue().

void QtCassandra::setCharValue ( QByteArray &  array,
const char  value 
) [inline]

Definition at line 78 of file QCassandraValue.h.

References appendCharValue().

Referenced by setSignedCharValue(), and setUnsignedCharValue().

void QtCassandra::setDoubleValue ( QByteArray &  array,
double  value 
) [inline]

Definition at line 211 of file QCassandraValue.h.

References setInt64Value().

void QtCassandra::setFloatValue ( QByteArray &  array,
float  value 
) [inline]

Definition at line 188 of file QCassandraValue.h.

References setInt32Value().

void QtCassandra::setInt16Value ( QByteArray &  array,
int16_t  value 
) [inline]

Definition at line 113 of file QCassandraValue.h.

References appendInt16Value().

Referenced by setUInt16Value().

void QtCassandra::setInt32Value ( QByteArray &  array,
int32_t  value 
) [inline]
void QtCassandra::setInt64Value ( QByteArray &  array,
int64_t  value 
) [inline]

Definition at line 171 of file QCassandraValue.h.

References appendInt64Value().

Referenced by setDoubleValue(), and setUInt64Value().

void QtCassandra::setNullValue ( QByteArray &  array) [inline]

Definition at line 53 of file QCassandraValue.h.

void QtCassandra::setSignedCharValue ( QByteArray &  array,
signed char  value 
) [inline]

Definition at line 89 of file QCassandraValue.h.

References setCharValue().

void QtCassandra::setStringValue ( QByteArray &  array,
const QString &  value 
) [inline]

Definition at line 234 of file QCassandraValue.h.

void QtCassandra::setUInt16Value ( QByteArray &  array,
uint16_t  value 
) [inline]

Definition at line 124 of file QCassandraValue.h.

References setInt16Value().

void QtCassandra::setUInt32Value ( QByteArray &  array,
uint32_t  value 
) [inline]

Definition at line 151 of file QCassandraValue.h.

References setInt32Value().

void QtCassandra::setUInt64Value ( QByteArray &  array,
uint64_t  value 
) [inline]

Definition at line 182 of file QCassandraValue.h.

References setInt64Value().

void QtCassandra::setUnsignedCharValue ( QByteArray &  array,
unsigned char  value 
) [inline]

Definition at line 99 of file QCassandraValue.h.

References setCharValue().


Variable Documentation

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 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.

Syndicate content

Snap! Websites
An Open Source CMS System in C++

Contact Us Directly