hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-2239) [IHBase] Improve the expression classes by adding the ability to generate filters from them.
Date Tue, 13 Apr 2010 16:23:02 GMT

     [ https://issues.apache.org/jira/browse/HBASE-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Purtell updated HBASE-2239:
----------------------------------

           Status: Resolved  (was: Patch Available)
    Fix Version/s:     (was: 0.20.4)
       Resolution: Won't Fix

IHBase is moving out.

> [IHBase] Improve the expression classes by adding the ability to generate filters from
them.
> --------------------------------------------------------------------------------------------
>
>                 Key: HBASE-2239
>                 URL: https://issues.apache.org/jira/browse/HBASE-2239
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: contrib
>    Affects Versions: 0.20.3
>            Reporter: Dan Washusen
>            Assignee: stack
>         Attachments: HBASE-2239.patch
>
>
> One of the requirements of IHBase is that the a filter should be provided that at least
matches the index expression hint.  The IHBase expression classes could easily be used to
generate a filter that can be used on the scan...
> For example: 
> {code}
> Expression expression = Expression
>     .or(
>         Expression.comparison(columnName1, qualifer1, operator1, value1)
>     )
>     .or(
>         Expression.and()
>             .and(Expression.comparison(columnName2, qualifer2, operator2, value2))
>             .and(Expression.comparison(columnName3, qualifer3, operator3, value3))
>     );
> Filter filter  = expression.toFilter();
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message