private static class VisibilityController.DeleteVersionVisibilityExpressionFilter extends FilterBase
Filter.ReturnCode| Modifier and Type | Field and Description |
|---|---|
private List<Tag> |
deleteCellVisTags |
private Byte |
deleteCellVisTagsFormat |
| Constructor and Description |
|---|
VisibilityController.DeleteVersionVisibilityExpressionFilter(List<Tag> deleteCellVisTags,
Byte deleteCellVisTagsFormat) |
| Modifier and Type | Method and Description |
|---|---|
Filter.ReturnCode |
filterKeyValue(Cell cell)
A way to filter based on the column family, column qualifier and/or the column value.
|
Cell |
transformCell(Cell v)
By default no transformation takes place
Give the filter a chance to transform the passed KeyValue.
|
createFilterFromArguments, filterAllRemaining, filterRow, filterRowCells, filterRowKey, getNextCellHint, getNextKeyHint, hasFilterRow, isFamilyEssential, reset, toByteArray, toString, transformisReversed, parseFrom, setReversedprivate Byte deleteCellVisTagsFormat
public Filter.ReturnCode filterKeyValue(Cell cell) throws IOException
FilterReturnCode.NEXT_ROW, it should return
ReturnCode.NEXT_ROW until Filter.reset() is called just in case the caller calls
for the next row.
Concrete implementers can signal a failure condition in their code by throwing an
IOException.filterKeyValue in class Filtercell - the Cell in questionIOException - in case an I/O or an filter specific failure needs to be signaled.Filter.ReturnCodepublic Cell transformCell(Cell v)
FilterBasetransformCell in class FilterBasev - the KeyValue in questionThe transformed KeyValue is what is eventually returned to the client. Most filters will
return the passed KeyValue unchanged.,
for an example of a
transformation.
Concrete implementers can signal a failure condition in their code by throwing an
{@link IOException}.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.