@InterfaceAudience.Public @InterfaceStability.Evolving public class FuzzyRowFilter extends FilterBase
Filter.ReturnCode| Constructor and Description |
|---|
FuzzyRowFilter(List<Pair<byte[],byte[]>> fuzzyKeysData) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
filterAllRemaining()
Filters that never filter all remaining can inherit this implementation that
never stops the filter early.
|
Filter.ReturnCode |
filterKeyValue(Cell kv)
Filters that dont filter by key value can inherit this implementation that
includes all Cells.
|
Cell |
getNextCellHint(Cell currentKV)
Filters that are not sure which key must be next seeked to, can inherit
this implementation that, by default, returns a null Cell.
|
static FuzzyRowFilter |
parseFrom(byte[] pbBytes) |
byte[] |
toByteArray()
Return length 0 byte array for Filters that don't require special serialization
|
String |
toString()
Return filter's info for debugging and logging purpose.
|
createFilterFromArguments, filterRow, filterRow, filterRowCells, filterRowKey, getNextKeyHint, hasFilterRow, isFamilyEssential, reset, transform, transformCellpublic Filter.ReturnCode filterKeyValue(Cell kv)
FilterBasefilterKeyValue in class FilterBasekv - the Cell in questionFilter.ReturnCodepublic Cell getNextCellHint(Cell currentKV)
FilterBasegetNextCellHint in class FilterBasepublic boolean filterAllRemaining()
FilterBasefilterAllRemaining in class FilterBasepublic byte[] toByteArray()
FilterBasetoByteArray in class FilterBasepublic static FuzzyRowFilter parseFrom(byte[] pbBytes) throws DeserializationException
pbBytes - A pb serialized FuzzyRowFilter instanceFuzzyRowFilter made from bytesDeserializationExceptiontoByteArray()public String toString()
FilterBasetoString in class FilterBaseCopyright © 2014 The Apache Software Foundation. All Rights Reserved.