[
https://issues.apache.org/jira/browse/CASSANDRA-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Yaskevich updated CASSANDRA-1687:
---------------------------------------
Attachment: CASSANDRA-1687-functions-support-for-row-keys.patch
Example:
{code}
connect localhost/9160
create keyspace Tests
use Tests
create column family DynamicColumns
set DynamicColumns[timeuuid()][timeuuid()] = hello
set DynamicColumns[timeuuid()][lexicaluuid()] = world
set
DynamicColumns[timeuuid()][lexicaluuid(550e8400-e29b-41d4-a716-446655440000)] =
utf8(test)
set DynamicColumns[timeuuid()][timeuuid()] = 125
set DynamicColumns[timeuuid(a193ffdf-eda2-11df-a193-ffdfeda211df)][long(31337)]
= utf8(gg)
assume DynamicColumns keys as timeuuid
list DynamicColumns
get DynamicColumns[timeuuid(a193ffdf-eda2-11df-a193-ffdfeda211df)]
get DynamicColumns[timeuuid(a193ffdf-eda2-11df-a193-ffdfeda211df)][long(31337)]
drop keyspace Tests
{code}
> Add UUID functions to cli
> -------------------------
>
> Key: CASSANDRA-1687
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1687
> Project: Cassandra
> Issue Type: New Feature
> Components: Tools
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Priority: Minor
> Fix For: 0.7.0
>
> Attachments: CASSANDRA-1687-functions-support-for-row-keys.patch,
> CASSANDRA-1687.patch
>
>
> Add timeuuid and lexicaluuid functions to the cli:
> set timeline[jbellis][timeuuid()] = ...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.