Basics

Datatypes Mapping

Driver Cassandra
cass_int32_t int
cass_int64_t bigint, counter, timestamp
cass_float_t float
cass_double_t double
cass_boot_t boolean
const char* ascii, text, varchar
const cass_byte_t* blob, varint
CassUuid uuid, timeuuid
CassInet inet
const cass_byte_t* (varint) and a cass_int32_t (scale) decimal
CassCollection list, map, set

Feature Compatibility

Cassandra 2.0+ is required for parameterized queries, prepared statements, paging, and batches. Cassandra 1.2 does NOT support these features.