You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2012/11/05 00:28:12 UTC

[jira] [Commented] (HBASE-7096) Support customer filters in REST API

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

Andrew Purtell commented on HBASE-7096:
---------------------------------------

So you are thinking that REST could somehow figure out and transmit a JSON representation of the "customer" filter by reflection, or similar? How do you envision this working? Do you have a patch?
                
> Support customer filters in REST API
> ------------------------------------
>
>                 Key: HBASE-7096
>                 URL: https://issues.apache.org/jira/browse/HBASE-7096
>             Project: HBase
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 0.94.2
>            Reporter: Alexander Alten-Lorenz
>
> {code}
> src/main/java/org/apache/hadoop/hbase/rest/model/ScannerModel.java:
> static enum FilterType { 
>      ColumnCountGetFilter, 
>      ColumnPaginationFilter, 
>      ColumnPrefixFilter, 
>      ColumnRangeFilter, 
>      DependentColumnFilter, 
>      FamilyFilter, 
>      FilterList, 
>      FirstKeyOnlyFilter, 
>      InclusiveStopFilter, 
>      KeyOnlyFilter, 
>      MultipleColumnPrefixFilter, 
>      PageFilter, 
>      PrefixFilter, 
>      QualifierFilter, 
>      RandomRowFilter, 
>      RowFilter, 
>      SingleColumnValueExcludeFilter, 
>      SingleColumnValueFilter, 
>      SkipFilter, 
>      TimestampsFilter, 
>      ValueFilter, 
>      WhileMatchFilter     
>    }
> {code}
> The REST API should support customer filters like the HBase API. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira