[ https://issues.apache.org/jira/browse/CASSANDRA-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012709#comment-13012709 ]
Eric Evans commented on CASSANDRA-2311: --------------------------------------- bq. Also: shouldn't we move validateKeyType into validateKey? FWIW, this is not used in CQL (because the ByteBuffer is created by {{AT.fromString}}, there is no need to invoke {{validate()}}). So {{validateKeyType}}'s use is limited to those two invocations in {{CassandraServer}}. > type validated row keys > ----------------------- > > Key: CASSANDRA-2311 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2311 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: Eric Evans > Assignee: Jon Hermes > Labels: cql > Fix For: 0.8 > > Attachments: 2311.txt, > v1-0001-CASSANDRA-2311-missed-CFM-conversion.txt > > > The idea here is to allow the assignment of a column-family-wide key type > used to perform validation, (similar to how default_validation_class does for > column values). > This should be as straightforward as extending the column family schema to > include the new attribute, and updating {{ThriftValidation.validateKey}} to > validate the key ({{AbstractType.validate}}). -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira