public class FuzzyRowFilter extends FilterBase
Filter.ReturnCode
Constructor and Description |
---|
FuzzyRowFilter()
Used internally for reflection, do NOT use it directly
|
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(KeyValue kv)
Filters that dont filter by key value can inherit this implementation that
includes all KeyValues.
|
KeyValue |
getNextKeyHint(KeyValue currentKV)
Filters that are not sure which key must be next seeked to, can inherit
this implementation that, by default, returns a null KeyValue.
|
void |
readFields(DataInput dataInput) |
String |
toString()
Return filter's info for debugging and logging purpose.
|
void |
write(DataOutput dataOutput) |
createFilterFromArguments, filterRow, filterRow, filterRowKey, hasFilterRow, isFamilyEssential, isFamilyEssential, reset, transform
public FuzzyRowFilter()
public Filter.ReturnCode filterKeyValue(KeyValue kv)
FilterBase
filterKeyValue
in interface Filter
filterKeyValue
in class FilterBase
kv
- the KeyValue in questionFilter.ReturnCode
public KeyValue getNextKeyHint(KeyValue currentKV)
FilterBase
getNextKeyHint
in interface Filter
getNextKeyHint
in class FilterBase
public boolean filterAllRemaining()
FilterBase
filterAllRemaining
in interface Filter
filterAllRemaining
in class FilterBase
public void write(DataOutput dataOutput) throws IOException
IOException
public void readFields(DataInput dataInput) throws IOException
IOException
public String toString()
FilterBase
toString
in class FilterBase
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.