ifesdjeen/cascading-cassandra

What column types are supported by cascading-cassandra?

Closed this issue · 3 comments

What column types are supported by cascading-cassandra (c*^2)? For instance, when defining a CassandraScheme, the examples in the docs list Int32Type, UTF8Type, DoubleType, DateType and DecimalType types, but, how do you create a list, set or map type? Are these even supported? If so, what are the proper schema 'strings' used to define them, (e.g. "List")?
Also, are BytesType supported?

They're supported: thrift supports everything cassandra supports.

Strings for them are:

"ListType(UTF8Type)"
"MapType(UTF8Type,UTF8Type)"
"CompositeType(UTF8Type,UTF8Type,UTF8Type)"

ByteType is also supported.

Awesome, thanks ifesdjeen for the quick response!

np!