viernes, 14 de febrero de 2014

CQL v3.14 Cassandra Query Language. Tipos de Datos

Tipos de Datos 



CQL soporta un amplio conjunto de datos para la definición de las columnas, incluyendo colecciones.


<type> ::= <native-type>
         | <collection-type>
         | <string>       // Used for custom types. The fully-qualified name of a JAVA class

<native-type> ::= ascii
                | bigint
                | blob
                | boolean
                | counter
                | decimal
                | double
                | float
                | inet
                | int
                | text
                | timestamp
                | timeuuid
                | uuid
                | varchar
                | varint

<collection-type> ::= list '<' <native-type> '>'
                    | set  '<' <native-type> '>'
                    | map  '<' <native-type> ',' <native-type> '>'


La tabla siguiente muestra información adicional de los tipos de datos y las constantes que soportan:



No hay comentarios:

Publicar un comentario