[
https://issues.apache.org/jira/browse/CASSANDRA-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919119#action_12919119
]
jian yang edited comment on CASSANDRA-1592 at 10/7/10 8:59 PM:
---------------------------------------------------------------
This patch adds an extra field key_regex in KeyRange. It is used to filter keys
in ColumnFamilyStore#getKeyRange(). If key_regex is null, empty string or
special regex ".*", the matching progress is skipped. The default value of
key_regex is null. So this patch should be compatible with existing client code.
was (Author: yangjian):
This patch adds an extra field key_regex in KeyRange. It will used to
filter keys in ColumnFamilyStore#getKeyRange(). If key_regex is null, empty
string or special regex ".*", the matching progress is skipped. The default
value of key_regex is null. So this patch should be compatible with existing
client code.
> Apply regular expression to row keys
> ------------------------------------
>
> Key: CASSANDRA-1592
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1592
> Project: Cassandra
> Issue Type: New Feature
> Components: API
> Reporter: zhu han
> Priority: Minor
> Attachments: cassandra-0.6.5_key_regex.patch
>
>
> Sometimes, the client needs to apply advanced filtering to row keys to carry
> out ad-hoc queries. Current implementation only supports prefix-match row
> filtering. This ticket is to extend the get_range_slices() API to filter the
> row keys by regular expression.
> It can also be extended to filter the column names by regex.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.