Tableaux des correspondances entre le type Cassandra et le type de données Talend
Le premier tableau ci-dessous présente les relations de mapping entre le type Cassandra avec l'API Cassandra, Datastax et le type de données Talend .
Cassandra 2.0 ou versions ultérieures
|
Type Cassandra |
Type de données Talend |
|---|---|
|
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 |
API Cassandra Hector (pour les versions de Cassandra antérieures à 2.0)
Le tableau suivant présente les relations de mapping entre les types de Cassandra avec l'API Hector et les types de données Talend.
|
Type Cassandra |
Type de données Talend |
|---|---|
|
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 |