@InterfaceAudience.Private public final class FilterWrapper extends Filter
Scan.getFilter().| 限定符和类型 | 类和说明 |
|---|---|
static class |
FilterWrapper.FilterRowRetCode |
Filter.ReturnCode| 构造器和说明 |
|---|
FilterWrapper(Filter filter) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
filterAllRemaining() |
Filter.ReturnCode |
filterCell(Cell c) |
Filter.ReturnCode |
filterKeyValue(Cell c)
已过时。
|
boolean |
filterRow() |
void |
filterRowCells(List<Cell> kvs) |
FilterWrapper.FilterRowRetCode |
filterRowCellsWithRet(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) |
isReversed, setReversedpublic FilterWrapper(Filter filter)
public byte[] toByteArray()
throws IOException
toByteArray 在类中 FilterIOExceptionpublic static FilterWrapper parseFrom(byte[] pbBytes) throws DeserializationException
pbBytes - A pb serialized FilterWrapper instanceFilterWrapper made from bytesDeserializationExceptiontoByteArray()public void reset()
throws IOException
reset 在类中 FilterIOExceptionpublic boolean filterAllRemaining()
throws IOException
filterAllRemaining 在类中 FilterIOExceptionpublic boolean filterRow()
throws IOException
filterRow 在类中 FilterIOExceptionpublic Cell getNextCellHint(Cell currentCell) throws IOException
getNextCellHint 在类中 FilterIOExceptionpublic boolean filterRowKey(byte[] buffer,
int offset,
int length)
throws IOException
filterRowKey 在类中 FilterIOExceptionpublic boolean filterRowKey(Cell cell) throws IOException
filterRowKey 在类中 FilterIOException@Deprecated public Filter.ReturnCode filterKeyValue(Cell c) throws IOException
filterKeyValue 在类中 FilterIOExceptionpublic Filter.ReturnCode filterCell(Cell c) throws IOException
filterCell 在类中 FilterIOExceptionpublic Cell transformCell(Cell v) throws IOException
transformCell 在类中 FilterIOExceptionpublic boolean hasFilterRow()
hasFilterRow 在类中 Filterpublic void filterRowCells(List<Cell> kvs) throws IOException
filterRowCells 在类中 FilterIOExceptionpublic FilterWrapper.FilterRowRetCode filterRowCellsWithRet(List<Cell> kvs) throws IOException
IOExceptionpublic boolean isFamilyEssential(byte[] name)
throws IOException
isFamilyEssential 在类中 FilterIOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.