You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stu Hood (JIRA)" <ji...@apache.org> on 2010/02/08 02:29:28 UTC
[jira] Issue Comment Edited: (CASSANDRA-736) time to add
first-class thrift methods for the string meta queries?
[ https://issues.apache.org/jira/browse/CASSANDRA-736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12830806#action_12830806 ]
Stu Hood edited comment on CASSANDRA-736 at 2/8/10 1:28 AM:
------------------------------------------------------------
> the ranges are represent as a comma-separated string of left_token, right_token
This won't work for OPP, since StringToken may contain commas. To get around the Thrift map restriction, you could use a list of key-value pairs instead? Also, you may want to just treat tokens as opaque binaries.
EDIT: Nevermind about treating tokens as binaries... that would not be very friendly for client side debugging.
was (Author: stuhood):
> the ranges are represent as a comma-separated string of left_token, right_token
This won't work for OPP, since StringToken may contain commas. To get around the Thrift map restriction, you could use a list of key-value pairs instead? Also, you may want to just treat tokens as opaque binaries.
> time to add first-class thrift methods for the string meta queries?
> -------------------------------------------------------------------
>
> Key: CASSANDRA-736
> URL: https://issues.apache.org/jira/browse/CASSANDRA-736
> Project: Cassandra
> Issue Type: New Feature
> Components: Tools
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Minor
> Fix For: 0.6
>
> Attachments: 736.txt
>
>
> I'd like to add these with a c_ (or system_? or meta_?) prefix, to make clear that clients who just want to insert and update stuff don't need to care about it.
> currently get_string_property provides
> "cluster name"
> "config file" [I think we should get rid of this one]
> "token map"
> "version"
> get_string_list_property provides
> "keyspaces"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.