@InterfaceAudience.Public @InterfaceStability.Stable public class ColumnCountGetFilter extends FilterBase
filterAllRemaining() returns true. This
makes this filter unsuitable as a Scan filter.Filter.ReturnCode| Constructor and Description |
|---|
ColumnCountGetFilter(int n) |
| Modifier and Type | Method and Description |
|---|---|
static Filter |
createFilterFromArguments(ArrayList<byte[]> filterArguments) |
boolean |
filterAllRemaining()
Filters that never filter all remaining can inherit this implementation that
never stops the filter early.
|
Filter.ReturnCode |
filterKeyValue(Cell v)
Filters that dont filter by key value can inherit this implementation that
includes all Cells.
|
int |
getLimit() |
static ColumnCountGetFilter |
parseFrom(byte[] pbBytes) |
void |
reset()
Filters that are purely stateless and do nothing in their reset() methods can inherit
this null/empty implementation.
|
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.
|
filterRow, filterRow, filterRowCells, filterRowKey, getNextCellHint, getNextKeyHint, hasFilterRow, isFamilyEssential, transform, transformCellpublic int getLimit()
public boolean filterAllRemaining()
FilterBasefilterAllRemaining in class FilterBasepublic Filter.ReturnCode filterKeyValue(Cell v)
FilterBasefilterKeyValue in class FilterBasev - the Cell in questionFilter.ReturnCodepublic void reset()
FilterBasereset in class FilterBasepublic static Filter createFilterFromArguments(ArrayList<byte[]> filterArguments)
public byte[] toByteArray()
FilterBasetoByteArray in class FilterBasepublic static ColumnCountGetFilter parseFrom(byte[] pbBytes) throws DeserializationException
pbBytes - A pb serialized ColumnCountGetFilter instanceColumnCountGetFilter made from bytesDeserializationExceptiontoByteArray()public String toString()
FilterBasetoString in class FilterBaseCopyright © 2014 The Apache Software Foundation. All Rights Reserved.