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 |
---|
DeleteVersionVisibilityExpressionFilter(List<Tag> deleteCellVisTags,
Byte deleteCellVisTagsFormat) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Filter.ReturnCode |
filterCell(Cell cell)
A way to filter based on the column family, column qualifier and/or the column value.
|
boolean |
filterRowKey(Cell cell)
Filters a row based on the row key.
|
int |
hashCode() |
createFilterFromArguments, filterAllRemaining, filterRow, filterRowCells, filterRowKey, getNextCellHint, hasFilterRow, isFamilyEssential, reset, toByteArray, toString, transformCell
filterKeyValue, isReversed, parseFrom, setReversed
private List<Tag> deleteCellVisTags
private Byte deleteCellVisTagsFormat
public DeleteVersionVisibilityExpressionFilter(List<Tag> deleteCellVisTags, Byte deleteCellVisTagsFormat)
public boolean filterRowKey(Cell cell) throws IOException
Filter
Filter.filterCell(Cell)
below.
If Filter.filterAllRemaining()
returns true, then Filter.filterRowKey(Cell)
should
also return true.
Concrete implementers can signal a failure condition in their code by throwing an
IOException
.filterRowKey
in class FilterBase
cell
- The first cell coming in the new rowIOException
- in case an I/O or an filter specific failure needs to be signaled.public Filter.ReturnCode filterCell(Cell cell) throws IOException
Filter
ReturnCode.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
.filterCell
in class Filter
cell
- the Cell in questionIOException
- in case an I/O or an filter specific failure needs to be signaled.Filter.ReturnCode
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.