CQL3 data types to Java types

A summary of the mapping between CQL3 data types and Java data types is provided.

Description

When retrieving the value of a column from a Row object, you use a getter based on the type of the column.

Java classes to CQL3 data types
CQL3 data type Java type
ascii java.lang.String
bigint long
blob java.nio.ByteBuffer
boolean boolean
counter long
decimal float
double double
float float
inet java.net.InetAddress
int int
list java.util.List<T>
map java.util.Map<K, V>
set java.util.Set<T>
text java.lang.String
timestamp java.util.Date
timeuuid java.util.UUID
uuid java.util.UUID
varchar java.lang.String
varint java.math.BigInteger