To create the Super Column family, you need to add the column_type property:
create column family User with column_type = 'Super' and comparator = UTF8Type and default_validation_class = UTF8Type;
You cannot define super command names in metadata. Metadata is used to validate column values ββor create indexes. Since you cannot check the value of a super call (the value is larger than columns), and you cannot create indexes in super calls, there is no reason to set metadata for them.
You can create metadata about auxiliary columns with super columns, but they will apply to all super columns in a row. For instance:
create column family User with column_type = 'Super' and comparator = UTF8Type and default_validation_class = UTF8Type and column_metadata = [ {column_name : name, validation_class : UTF8Type} {column_name : age, validation_class : LongType} ];
In this supercolumn family, any subheading called "name" should be UTF8, and any subscript column named age should be long.
source share