@InterfaceAudience.Public public class FuzzyRowFilter extends FilterBase
Filter.ReturnCode| 构造器和说明 |
|---|
FuzzyRowFilter(List<Pair<byte[],byte[]>> fuzzyKeysData) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
boolean |
filterAllRemaining()
Filters that never filter all remaining can inherit this implementation that
never stops the filter early.
|
Filter.ReturnCode |
filterCell(Cell c)
A way to filter based on the column family, column qualifier and/or the column value.
|
Filter.ReturnCode |
filterKeyValue(Cell c)
已过时。
|
Cell |
getNextCellHint(Cell currentCell)
Filters that are not sure which key must be next seeked to, can inherit
this implementation that, by default, returns a null Cell.
|
int |
hashCode() |
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, filterRowCells, filterRowKey, filterRowKey, hasFilterRow, isFamilyEssential, reset, transformCellisReversed, setReversed@Deprecated public Filter.ReturnCode filterKeyValue(Cell c)
FilterReturnCode.NEXT_ROW, it should return
ReturnCode.NEXT_ROW until Filter.reset() is called just in case the caller calls
for the next row.
Concrete implementers can signal a failure condition in their code by throwing an
IOException.filterKeyValue 在类中 Filterc - the Cell in questionFilter.ReturnCodepublic Filter.ReturnCode filterCell(Cell c)
FilterReturnCode.NEXT_ROW, it should return
ReturnCode.NEXT_ROW until Filter.reset() is called just in case the caller calls
for the next row.
Concrete implementers can signal a failure condition in their code by throwing an
IOException.filterCell 在类中 Filterc - the Cell in questionFilter.ReturnCodepublic Cell getNextCellHint(Cell currentCell)
FilterBaseIOException.getNextCellHint 在类中 FilterBasepublic boolean filterAllRemaining()
FilterBaseIOException.filterAllRemaining 在类中 FilterBasepublic byte[] toByteArray()
FilterBasetoByteArray 在类中 FilterBasepublic static FuzzyRowFilter parseFrom(byte[] pbBytes) throws DeserializationException
pbBytes - A pb serialized FuzzyRowFilter instanceFuzzyRowFilter made from bytesDeserializationExceptiontoByteArray()public String toString()
FilterBasetoString 在类中 FilterBaseCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.