hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: RE: re: What's the exact procedure of making a custom filter work?
Date Wed, 16 Jul 2014 13:53:37 GMT
Please implement this method in YourFilter:

  public static YourFilter parseFrom(final byte [] pbBytes) throws
DeserializationException {

You can refer to SingleColumnValueFilter for an example.

Cheers


On Wed, Jul 16, 2014 at 2:18 AM, 神之疯神 <77231541@qq.com> wrote:

> No. And that exception is never thrown.
> But this inspired me:
> I override every method in filterbase with "throw new IOException("what
> the hell");‍".
> Guess what?
> Nothing happened.
>
>
> ------------------
> Michael.Calvin.Shi
>
>
>
> Ted Yu <yuzhihong@...> writes:
>
>
> >
> > createFilterFromArguments() in FilterBase throws exception.
> >
> > Have you overridden this method ?
> >
> > Cheers
> >
> > On Jul 16, 2014, at 1:26 AM, "Michael.Calvin" <77231541@...> wrote:
> > ‍

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