@InterfaceAudience.Public @InterfaceStability.Stable public class InclusiveStopFilter extends FilterBase
Filter.ReturnCode
Constructor and Description |
---|
InclusiveStopFilter(byte[] stopRowKey) |
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.
|
boolean |
filterRowKey(byte[] buffer,
int offset,
int length)
Filters that do not filter by row key can inherit this implementation that
never filters anything.
|
byte[] |
getStopRowKey() |
static InclusiveStopFilter |
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.
|
filterKeyValue, filterRow, filterRow, filterRowCells, getNextCellHint, getNextKeyHint, hasFilterRow, isFamilyEssential, reset, transform, transformCell
public byte[] getStopRowKey()
public boolean filterRowKey(byte[] buffer, int offset, int length)
FilterBase
filterRowKey
in class FilterBase
buffer
- buffer containing row keyoffset
- offset into buffer where row key startslength
- length of the row keypublic boolean filterAllRemaining()
FilterBase
filterAllRemaining
in class FilterBase
public static Filter createFilterFromArguments(ArrayList<byte[]> filterArguments)
public byte[] toByteArray()
FilterBase
toByteArray
in class FilterBase
public static InclusiveStopFilter parseFrom(byte[] pbBytes) throws DeserializationException
pbBytes
- A pb serialized InclusiveStopFilter
instanceInclusiveStopFilter
made from bytes
DeserializationException
toByteArray()
public String toString()
FilterBase
toString
in class FilterBase
Copyright © 2013 The Apache Software Foundation. All rights reserved.