@InterfaceAudience.Private
public final class FilterWrapper
extends org.apache.hadoop.hbase.filter.Filter
Scan.getFilter().| Modifier and Type | Class and Description |
|---|---|
static class |
FilterWrapper.FilterRowRetCode |
| Constructor and Description |
|---|
FilterWrapper(org.apache.hadoop.hbase.filter.Filter filter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
filterAllRemaining() |
org.apache.hadoop.hbase.filter.Filter.ReturnCode |
filterCell(org.apache.hadoop.hbase.Cell c) |
org.apache.hadoop.hbase.filter.Filter.ReturnCode |
filterKeyValue(org.apache.hadoop.hbase.Cell c)
Deprecated.
|
boolean |
filterRow() |
void |
filterRowCells(List<org.apache.hadoop.hbase.Cell> kvs) |
FilterWrapper.FilterRowRetCode |
filterRowCellsWithRet(List<org.apache.hadoop.hbase.Cell> kvs) |
boolean |
filterRowKey(byte[] buffer,
int offset,
int length) |
boolean |
filterRowKey(org.apache.hadoop.hbase.Cell cell) |
org.apache.hadoop.hbase.Cell |
getNextCellHint(org.apache.hadoop.hbase.Cell currentCell) |
boolean |
hasFilterRow() |
boolean |
isFamilyEssential(byte[] name) |
static FilterWrapper |
parseFrom(byte[] pbBytes) |
void |
reset() |
byte[] |
toByteArray() |
org.apache.hadoop.hbase.Cell |
transformCell(org.apache.hadoop.hbase.Cell v) |
public byte[] toByteArray()
throws IOException
toByteArray in class org.apache.hadoop.hbase.filter.FilterIOExceptionpublic static FilterWrapper parseFrom(byte[] pbBytes) throws org.apache.hadoop.hbase.exceptions.DeserializationException
pbBytes - A pb serialized FilterWrapper instanceFilterWrapper made from bytesorg.apache.hadoop.hbase.exceptions.DeserializationExceptiontoByteArray()public void reset()
throws IOException
reset in class org.apache.hadoop.hbase.filter.FilterIOExceptionpublic boolean filterAllRemaining()
throws IOException
filterAllRemaining in class org.apache.hadoop.hbase.filter.FilterIOExceptionpublic boolean filterRow()
throws IOException
filterRow in class org.apache.hadoop.hbase.filter.FilterIOExceptionpublic org.apache.hadoop.hbase.Cell getNextCellHint(org.apache.hadoop.hbase.Cell currentCell)
throws IOException
getNextCellHint in class org.apache.hadoop.hbase.filter.FilterIOExceptionpublic boolean filterRowKey(byte[] buffer,
int offset,
int length)
throws IOException
filterRowKey in class org.apache.hadoop.hbase.filter.FilterIOExceptionpublic boolean filterRowKey(org.apache.hadoop.hbase.Cell cell)
throws IOException
filterRowKey in class org.apache.hadoop.hbase.filter.FilterIOException@Deprecated public org.apache.hadoop.hbase.filter.Filter.ReturnCode filterKeyValue(org.apache.hadoop.hbase.Cell c) throws IOException
filterKeyValue in class org.apache.hadoop.hbase.filter.FilterIOExceptionpublic org.apache.hadoop.hbase.filter.Filter.ReturnCode filterCell(org.apache.hadoop.hbase.Cell c)
throws IOException
filterCell in class org.apache.hadoop.hbase.filter.FilterIOExceptionpublic org.apache.hadoop.hbase.Cell transformCell(org.apache.hadoop.hbase.Cell v)
throws IOException
transformCell in class org.apache.hadoop.hbase.filter.FilterIOExceptionpublic boolean hasFilterRow()
hasFilterRow in class org.apache.hadoop.hbase.filter.Filterpublic void filterRowCells(List<org.apache.hadoop.hbase.Cell> kvs) throws IOException
filterRowCells in class org.apache.hadoop.hbase.filter.FilterIOExceptionpublic FilterWrapper.FilterRowRetCode filterRowCellsWithRet(List<org.apache.hadoop.hbase.Cell> kvs) throws IOException
IOExceptionpublic boolean isFamilyEssential(byte[] name)
throws IOException
isFamilyEssential in class org.apache.hadoop.hbase.filter.FilterIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.