cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Evans (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-2311) type validated row keys
Date Tue, 29 Mar 2011 21:23:06 GMT


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:
>             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:

View raw message