cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3890) [patch] add clientutil class for building composite column names
Date Tue, 14 Feb 2012 01:02:59 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-3890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207415#comment-13207415
] 

Dave Brosius commented on CASSANDRA-3890:
-----------------------------------------

Sure, thats fine, but it should probably be broken out of CompositeType and moved to packages
used by clientutils for consistency. (Didn't see it there, hiding among the java.management
classes :)
                
> [patch] add clientutil class for building composite column names
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-3890
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3890
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Dave Brosius
>            Priority: Trivial
>         Attachments: add_composite_builder.diff
>
>
> allow for clients do do
> CompositeNameBuilder builder = new CompositeNameBuilder();
> builder.append("US");
> builder.append(91210);
> builder.append("San Mateo");
> Column col = new Column(builder.getComposite());
> BytesType, UTF8Type, LongType, LexicalUUIDType, TimeUUIDType are directly supported,
AsciiType and custom types are supported thru a append(byte... value) catchall.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message