hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abhinavpundir <abhinavmast...@gmail.com>
Subject Re: Row Filters using BitComparator
Date Sun, 22 Sep 2013 20:05:33 GMT
Thnx a lot anil

By any chance do you know how to use bitcomparators in hbase ?

On Monday, September 16, 2013, anil gupta [via Apache HBase] wrote:

> Inline.
>
> On Sun, Sep 15, 2013 at 12:04 AM, abhinavpundir <[hidden email]<http://user/SendEmail.jtp?type=node&node=4050761&i=0>>wrote:
>
>
> > I have rows in my Hbase whose keys are made up of 5 components. I would
> > like
> > to search my hbase using rowFilters by using only some(May be only the
> > first
> > 2 components ) of the components. I don't want to use
> > RegexStringComparator.
> >
> > If you are using the first two components(i.e. prefix of the rowkey)
> then
> you can use PrefixFilter(
>
> http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/filter/PrefixFilter.html).
>
> Also, dont forget to set startRow and StopRow.
>
> > I would like to use BitComparator because it is fast.
> >
> > how would I do that?
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://apache-hbase.679495.n3.nabble.com/Row-Filters-using-BitComparator-tp4050739.html
> > Sent from the HBase User mailing list archive at Nabble.com.
> >
>
>
>
> --
> Thanks & Regards,
> Anil Gupta
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-hbase.679495.n3.nabble.com/Row-Filters-using-BitComparator-tp4050739p4050761.html
>  To unsubscribe from Row Filters using BitComparator, click here<http://apache-hbase.679495.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4050739&code=YWJoaW5hdm1hc3RlcnNAZ21haWwuY29tfDQwNTA3Mzl8LTM4Mzk3NTc0OQ==>
> .
> NAML<http://apache-hbase.679495.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://apache-hbase.679495.n3.nabble.com/Row-Filters-using-BitComparator-tp4050739p4051065.html
Sent from the HBase User mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message