public final class FilterWrapper
extends Filter
org.apache.hadoop.hbase.client.Scan#getFilter()
.Modifier and Type | Class and Description |
---|---|
static class |
FilterWrapper.FilterRowRetCode |
Constructor and Description |
---|
FilterWrapper(Filter filter) |
Modifier and Type | Method and Description |
---|---|
boolean |
filterAllRemaining() |
ReturnCode |
filterCell(Cell c) |
ReturnCode |
filterKeyValue(Cell c)
Deprecated.
|
boolean |
filterRow() |
void |
filterRowCells(java.util.List<Cell> kvs) |
FilterWrapper.FilterRowRetCode |
filterRowCellsWithRet(java.util.List<Cell> kvs) |
boolean |
filterRowKey(byte[] buffer,
int offset,
int length) |
boolean |
filterRowKey(Cell cell) |
Cell |
getNextCellHint(Cell currentCell) |
boolean |
hasFilterRow() |
boolean |
isFamilyEssential(byte[] name) |
static FilterWrapper |
parseFrom(byte[] pbBytes) |
void |
reset() |
byte[] |
toByteArray() |
Cell |
transformCell(Cell v) |
public byte[] toByteArray() throws java.io.IOException
java.io.IOException
public static FilterWrapper parseFrom(byte[] pbBytes) throws DeserializationException
pbBytes
- A pb serialized FilterWrapper
instanceFilterWrapper
made from bytes
org.apache.hadoop.hbase.exceptions.DeserializationException
DeserializationException
toByteArray()
public void reset() throws java.io.IOException
java.io.IOException
public boolean filterAllRemaining() throws java.io.IOException
java.io.IOException
public boolean filterRow() throws java.io.IOException
java.io.IOException
public Cell getNextCellHint(Cell currentCell) throws java.io.IOException
java.io.IOException
public boolean filterRowKey(byte[] buffer, int offset, int length) throws java.io.IOException
java.io.IOException
public boolean filterRowKey(Cell cell) throws java.io.IOException
java.io.IOException
@Deprecated public ReturnCode filterKeyValue(Cell c) throws java.io.IOException
java.io.IOException
public ReturnCode filterCell(Cell c) throws java.io.IOException
java.io.IOException
public Cell transformCell(Cell v) throws java.io.IOException
java.io.IOException
public boolean hasFilterRow()
public void filterRowCells(java.util.List<Cell> kvs) throws java.io.IOException
java.io.IOException
public FilterWrapper.FilterRowRetCode filterRowCellsWithRet(java.util.List<Cell> kvs) throws java.io.IOException
java.io.IOException
public boolean isFamilyEssential(byte[] name) throws java.io.IOException
java.io.IOException