Thanks J-D,
but i check the source,  in  HRegion.delete, there are some codes like this:

public void delete(){
...
prepareDelete(delete);  //  here will check if Delete has no columnfamily,
it will reset it's all columnFamilies.
internalDelete(...);  //  Coprocessor.preDelete triggered here
...

}

As the codes shows here, the 'no columns are specified' Delete will be
modifid to 'full columns specified' Delete before Cp.preDelete triggered.
So i stll get no way to find out if a Delete is going to delete a full
row...

2012/4/7 Jean-Daniel Cryans <[email protected]>

> The same way you tell HBase to delete a whole row, no columns are
> specified.
>
> J-D
>
> On Thu, Apr 5, 2012 at 6:32 PM, NNever <[email protected]> wrote:
> > Dear all,
> >
> > when trigger a preDelete in Coprocessor, is there any possible to
> determine
> > this Delete is going to remove a row ( not just a family or qualifier,
> but
> > the whole row)?
> >
> > Thanks so much!
> >
> > Best regards,
> > nn
>

Reply via email to