> De: Ted Yu
> Enviado: lunes, 02 de enero de 2017 11:36 p.m.
> Para: user@hbase.apache.org
> Asunto: Re: Is it possible to implement a NOT filter in Hbase?
>
> There is INCLUDE_AND_SEEK_NEXT_ROW which was not accounted for in the
> nested if st
's working, so thanks again for that!
Best,
De: Ted Yu
Enviado: lunes, 02 de enero de 2017 11:36 p.m.
Para: user@hbase.apache.org
Asunto: Re: Is it possible to implement a NOT filter in Hbase?
There is INCLUDE_AND_SEEK_NEXT_ROW which was not accounted for i
> Thanks for your response Ted.
>
>
> I did the change, unfortunately it doesn't make any difference.
>
>
> Best,
>
>
> De: Ted Yu
> Enviado: lunes, 02 de enero de 2017 07:58 p.m.
> Para: user@hbase.apache.org
> Asunto:
Thanks for your response Ted.
I did the change, unfortunately it doesn't make any difference.
Best,
De: Ted Yu
Enviado: lunes, 02 de enero de 2017 07:58 p.m.
Para: user@hbase.apache.org
Asunto: Re: Is it possible to implement a NOT filter in Hbase?
I
t doesn't have Name 'Bill'
>
> NOT (Name='Bill')
>
>
> What I get as result from Hbase with this NotFilter is
>
> Row 2
>
> Surname: Jobs
>
>
> I suppose it's related to the cell "Name: Steve" skipped in the first plac
ct replacement for
> > INCLUDE_AND_NEXT_COL. What do you think? If not maybe i should try to
> > implement DeMorgan's law but I think it would be harder.
> >
> >
> > Best,
> >
> >
> > De: Ted Yu
> > Enviado: jueves, 2
method of FilterList, but I got
> the same behaviour (the original cell/value missing).
>
>
> Best,
>
>
>
> De: Ted Yu
> Enviado: viernes, 30 de diciembre de 2016 12:56 p.m.
> Para: user@hbase.apache.org
> Asunto: Re: Is it possible t
filterRow() method of FilterList, but I got the
same behaviour (the original cell/value missing).
Best,
De: Ted Yu
Enviado: viernes, 30 de diciembre de 2016 12:56 p.m.
Para: user@hbase.apache.org
Asunto: Re: Is it possible to implement a NOT filter in Hbase?
I
_
> De: Ted Yu
> Enviado: jueves, 29 de diciembre de 2016 06:10 p.m.
> Para: user@hbase.apache.org
> Asunto: Re: Is it possible to implement a NOT filter in Hbase?
>
> You can try negating the ReturnCode from filterKeyValue() (at the root of
> FilterL
ement DeMorgan's law but I think it
would be harder.
Best,
De: Ted Yu
Enviado: jueves, 29 de diciembre de 2016 06:10 p.m.
Para: user@hbase.apache.org
Asunto: Re: Is it possible to implement a NOT filter in Hbase?
You can try negating the ReturnCode from filterKeyV
Last line should have read:
(a != '123') OR (b != '456')
On Thu, Dec 29, 2016 at 1:10 PM, Ted Yu wrote:
> You can try negating the ReturnCode from filterKeyValue() (at the root of
> FilterList):
>
> abstract public ReturnCode filterKeyValue(final Cell v) throws
> IOException;
>
> INCLUDE -> S
You can try negating the ReturnCode from filterKeyValue() (at the root of
FilterList):
abstract public ReturnCode filterKeyValue(final Cell v) throws
IOException;
INCLUDE -> SKIP
SKIP -> INCLUDE
Alternatively, you can use De Morgan's law to transfer the condition:
NOT (a = '123' AND b = '45
Hi guys
I'm trying to implement some kind of NOT filter in Hbase, but don't know if
possible, I'm playing with FilterIfMissing and FilterList.Operator but without
luck.
I know how to return rows not having a specific column, but I mean something
like returning rows NOT fullfilling a conditio
13 matches
Mail list logo