@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, transformCell
isReversed, setReversed
public int getLimit()
public boolean filterAllRemaining()
FilterBase
filterAllRemaining
in class FilterBase
public Filter.ReturnCode filterKeyValue(Cell v)
FilterBase
filterKeyValue
in class FilterBase
v
- the Cell in questionFilter.ReturnCode
public void reset()
FilterBase
reset
in class FilterBase
public static Filter createFilterFromArguments(ArrayList<byte[]> filterArguments)
public byte[] toByteArray()
FilterBase
toByteArray
in class FilterBase
public static ColumnCountGetFilter parseFrom(byte[] pbBytes) throws DeserializationException
pbBytes
- A pb serialized ColumnCountGetFilter
instanceColumnCountGetFilter
made from bytes
DeserializationException
toByteArray()
public String toString()
FilterBase
toString
in class FilterBase
Copyright © 2015 The Apache Software Foundation. All rights reserved.