Le premier des tableaux suivants présente les relations entre le type Cassandra avec la nouvelle API Cassandra, Datastax et le type de données Talend.
Si la version de Cassandra que vous utiliser avec le Studio est antérieure à 2.0, ou si vous sélectionnez l'API Hector dans le composant à utiliser avec Cassandra 2.0, consultez la seconde table.
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 |
Le tableau suivant présente les relations de mapping entre le type Cassandra avec l'API Hector et le type de données Talend.
Type Cassandra |
Type de données |
---|---|
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 |