Basics
Ruby Objects to/from Apache Cassandra Datatypes
Ruby | Cassandra |
---|---|
String |
ascii |
blob |
|
text |
|
varchar |
|
Integer |
bigint |
counter |
|
int |
|
varint |
|
Boolean |
boolean |
BigDecimal |
decimal |
Float |
double |
float |
|
IPAddr |
inet |
Time |
timestamp |
Cassandra::Uuid |
uuid |
Cassandra::TimeUuid |
timeuuid |
Array |
list |
Cassandra::Tuple |
tuple |
Set |
set |
Hash |
map |
Cassandra::UDT |
UDT (user-defined type) |