Mapping tables between Cassandra type and Talend data type
The first of the following two tables presents the mapping relationships between
Cassandra type with Cassandra API, Datastax, and Talend data
type.
Cassandra 2.0 or later versions
Cassandra Type |
Talend Data Type |
---|---|
Ascii |
String; Character |
BigInt |
Long |
Blob |
Byte[] |
Boolean |
Boolean |
Counter |
Long |
Inet |
Object |
Int |
Integer; Short; Byte |
List |
List |
Map |
Object |
Set |
Object |
Text |
String; Character |
Timestamp |
Date |
UUID |
String |
TimeUUID |
String |
VarChar |
String; Character |
VarInt |
Object |
Boolean |
Boolean |
Float |
Float |
Double |
Double |
Decimal |
BigDecimal |
Cassandra Hector API ( for Cassandra versions older than 2.0)
The following table presents the mapping relationships between Cassandra type with the Hector API and Talend data type.
Cassandra Type |
Talend Data Type |
---|---|
BytesType |
byte[] |
AsciiType |
String |
UTF8Type |
String |
IntegerType |
Object |
Int32Type |
Integer |
LongType |
Long |
UUIDType |
String |
TimeUUIDType |
String |
DateType |
Date |
BooleanType |
Boolean |
FloatType |
Float |
DoubleType |
Double |
DecimalType |
BigDecimal |