Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Anybody Know Anything About These Types #97
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
According to the comments in the class:
for sorting columns representing row keys in the row ordering as determined by a partitioner. Not intended for user-defined CFs, and will in fact error out if used with such.
EmptyType and ColumnToCollectionType can technically be defined, even though they aren't referenced on the cql_data_types documentation page. e.g.:
ALTER TABLE table ADD empty_col 'EmptyType';
And based on peaking around the code, it seems ColumnToCollectionType is used internally to map a column to its proper collection type (map, list, set). But please take this with a grain of salt as I may have missed something.
This leaves InetAddressType -- you can define a column as 'inet' and according to: http://www.datastax.com/docs/1.2/cql_cli/cql_data_types
_inet IP address string in xxx.xxx.xxx.xxx form. See 1).
I would say it makes sense to implement InetAddressType as it is actually a CQL data type that is listed for use. Just my 2 cents.