hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dima Spivak <dspi...@cloudera.com>
Subject Re: Custom Filter on hbase Column
Date Thu, 11 Sep 2014 18:09:27 GMT
Hi Nishanth,

Take a look at http://hbase.apache.org/book/client.filter.html . If I
understand your use case correctly, you might want to look at
RegexStringComparator to match the first 1000 characters of your column


On Thu, Sep 11, 2014 at 12:37 PM, Nishanth S <nishanth.2884@gmail.com>

> Hi All,
> I have an hbase table with multiple cfs (say c1,c2,c3).Each of this column
> family has  a column 'message' which is about 5K.What I need to do is to
> grab only the first 1000 Characters of this message when I do a get on  the
> table using row Key.I was thinking of using  filters to do this on hbase
> sever side.Can some one help me on how to go about this.
> Thanks,
> Nishan

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message