In several Filters under src/compatibility/hadooplib_12, I see following method (src/compatibility/hadooplib_12/storage/HSearchBytesFilter.java e.g.):
@Override public final void filterRow(final List<KeyValue> kvL) { I guess hadooplib_12 is used with HBase 0.94 Cheers On Thu, Apr 17, 2014 at 4:00 AM, shubhendu.singh < shubhendu.si...@bizosys.com> wrote: > A filter using filterRow() to filter out an entire row, or filterRow(List) > to > modify the > final list of included values, must also override the hasRowFilter() > function to return true. > > The framework is using this flag to ensure that a given filter is > compatible > with the > selected scan parameters. In particular, these filter methods collide with > the scanner’s > batch mode: when the scanner is using batches to ship partial rows to the > client, the > previous methods are not called for every batch, but only at the actual end > of the current > row. > > InHbase 96 the filterRow(List) method is deprecated. > Deprecated. > WARNING: please to not override this method. Instead override > filterRowCells(List). This is for transition from 0.94 -> 0.96 > > In HSearchScalarFilter filterRowCells(List<Cell> cellL) is used that is why > hasFilterRow is returning true. > > Thanks, > Shubhendu > > > > > -- > View this message in context: > http://apache-hbase.679495.n3.nabble.com/Releasing-HSearch-1-0-Search-and-Analytics-Engine-on-hadoop-hbase-tp4058295p4058346.html > Sent from the HBase User mailing list archive at Nabble.com. >