CassandraタイプとTalendデータ型間でテーブルをマッピング
以下の2つの表のうち最初の表はCassandra APIを使用したCassandraタイプとDatastax、およびTalendデータ型のマッピングのリレーションシップを示しています。
Cassandra 2.0または最新バージョン
|
Cassandraタイプ |
Talendデータ型 |
|---|---|
|
Ascii |
String; Character |
|
BigInt |
Long |
|
Blob |
Byte[] |
|
Boolean |
Boolean |
|
Counter |
Long |
|
Inet |
オブジェクト |
|
Int |
Integer; Short; Byte |
|
List |
List |
|
Map |
オブジェクト |
|
Set |
オブジェクト |
|
Text |
String; Character |
|
Timestamp |
Date |
|
UUID |
文字列 |
|
TimeUUID |
文字列 |
|
VarChar |
String; Character |
|
VarInt |
オブジェクト |
|
Boolean |
Boolean |
|
Float |
Float |
|
Double |
Double |
|
10進数 |
BigDecimal |
Cassandra Hector API(Cassandra 2.0以前)
以下のテーブルはHector APIのCassandraタイプおよびTalendデータ型のマッピング関係を示しています。
|
Cassandraタイプ |
Talendデータ型 |
|---|---|
|
BytesType |
byte[] |
|
AsciiType |
文字列 |
|
UTF8Type |
文字列 |
|
IntegerType |
オブジェクト |
|
Int32Type |
整数 |
|
LongType |
Long |
|
UUIDType |
文字列 |
|
TimeUUIDType |
文字列 |
|
DateType |
Date |
|
BooleanType |
Boolean |
|
FloatType |
Float |
|
DoubleType |
Double |
|
DecimalType |
BigDecimal |