hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2495) Allow record filtering with selected row key values in HBase Export
Date Thu, 17 Mar 2011 10:34:29 GMT

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

Hudson commented on HBASE-2495:
-------------------------------

Integrated in HBase-TRUNK #1792 (See [https://hudson.apache.org/hudson/job/HBase-TRUNK/1792/])
    

> Allow record filtering with selected row key values in HBase Export
> -------------------------------------------------------------------
>
>                 Key: HBASE-2495
>                 URL: https://issues.apache.org/jira/browse/HBASE-2495
>             Project: HBase
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 0.20.3
>            Reporter: Ted Yu
>              Labels: moved_from_0_20_5
>             Fix For: 0.92.0
>
>         Attachments: HBASE-2495_-_Allow_record_filtering_with_selected_row_key_values_in_HBase_Export.patch
>
>
> It is desirable to add record filtering capability to HBase Export.
> The following code is an example (s is the Scan):
> 		byte [] prefix = Bytes.toBytes(args[5]);
> 		if (args[5].startsWith("^"))
> 		{
> 			s.setFilter(new RowFilter(CompareOp.EQUAL, new RegexStringComparator(args[5])));
> 		}
> 		else s.setFilter(new PrefixFilter(prefix));

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message