public static class TestFilter.SlowScanFilter extends org.apache.hadoop.hbase.filter.FilterBase
create 't1', 'f1'
1.upto(100) { |x| put 't1', 'r' + x.to_s, 'f1:q1', 'hi' }
import org.apache.hadoop.hbase.filter.TestFilter
scan 't1', { FILTER => TestFilter::SlowScanFilter.new(), CACHE => 50 }
| Modifier and Type | Field and Description |
|---|---|
private static Thread |
ipcHandlerThread |
| Constructor and Description |
|---|
SlowScanFilter() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hbase.filter.Filter.ReturnCode |
filterCell(org.apache.hadoop.hbase.Cell ignored) |
boolean |
filterRow() |
byte[] |
toByteArray() |
areSerializedFieldsEqual, createFilterFromArguments, filterAllRemaining, filterRowCells, filterRowKey, filterRowKey, getNextCellHint, hasFilterRow, isFamilyEssential, reset, toString, transformCellprivate static Thread ipcHandlerThread
public SlowScanFilter()
public byte[] toByteArray()
toByteArray in class org.apache.hadoop.hbase.filter.FilterBasepublic org.apache.hadoop.hbase.filter.Filter.ReturnCode filterCell(org.apache.hadoop.hbase.Cell ignored) throws IOException
filterCell in class org.apache.hadoop.hbase.filter.FilterIOExceptionpublic boolean filterRow() throws IOException
filterRow in class org.apache.hadoop.hbase.filter.FilterBaseIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.