출처 : http://www.datastax.com/docs/1.2/cql_cli/cql_data_types
| CQL Type | Constants | Description |
|---|---|---|
| ascii | strings | US-ASCII character string |
| bigint | integers | 64-bit signed long |
| blob | blobs | Arbitrary bytes (no validation), expressed as hexadecimal |
| boolean | booleans | true or false |
| counter | integers | Distributed counter value (64-bit long) |
| decimal | integers, floats | Variable-precision decimal |
| double | integers | 64-bit IEEE-754 floating point |
| float | integers, floats | 32-bit IEEE-754 floating point |
| inet | strings | IP address string in IPv4 or IPv6 format [1] |
| int | integers | 32-bit signed integer |
| list | n/a | A collection of one or more ordered elements |
| map | n/a | A collection of one or more timestamp, value pairs |
| set | n/a | A collection of one or more elements |
| text | strings | UTF-8 encoded string |
| timestamp | integers, strings | Date plus time, encoded as 8 bytes since epoch |
| uuid | uuids | A UUID in standard UUID format |
| timeuuid | uuids | Type 1 UUID only (CQL 3) |
| varchar | strings | UTF-8 encoded string |
| varint | integers | Arbitrary-precision integer |
자세한 내용은 출처를 참조
반응형
'Cassandra' 카테고리의 다른 글
| Cassandra - Table(Column Family) 생성, 수정 (CQL) (0) | 2013.05.24 |
|---|---|
| Cassandra - Keyspace 에 생성된 column family(table) 조회 (0) | 2013.05.24 |
| Cassandra - Keyspace 생성, 관리 (CQL) (0) | 2013.05.24 |
| Cassandra - USER 관리 (CQL) (0) | 2013.05.24 |
| Cassandra - 로그인 설정 (0) | 2013.05.24 |