Package com.mapr.fs.hbase.filter
Class AlwaysFalseFilter
java.lang.Object
org.apache.hadoop.hbase.filter.Filter
org.apache.hadoop.hbase.filter.FilterBase
com.mapr.fs.hbase.filter.AlwaysFalseFilter
@Public
@Stable
public class AlwaysFalseFilter
extends org.apache.hadoop.hbase.filter.FilterBase
A filter that will always indicate that the row needs to be filtered out.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.filter.Filter
org.apache.hadoop.hbase.filter.Filter.ReturnCode -
Field Summary
Fields inherited from class org.apache.hadoop.hbase.filter.Filter
reversed -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.filter.FiltercreateFilterFromArguments(ArrayList<byte[]> filterArguments) org.apache.hadoop.hbase.filter.Filter.ReturnCodefilterKeyValue(org.apache.hadoop.hbase.Cell v) static AlwaysFalseFilterparseFrom(byte[] pbBytes) Methods inherited from class org.apache.hadoop.hbase.filter.FilterBase
filterAllRemaining, filterRow, filterRowCells, filterRowKey, getNextCellHint, getNextKeyHint, hasFilterRow, isFamilyEssential, reset, toByteArray, toString, transform, transformCellMethods inherited from class org.apache.hadoop.hbase.filter.Filter
isReversed, setReversed
-
Constructor Details
-
AlwaysFalseFilter
public AlwaysFalseFilter()
-
-
Method Details
-
createFilterFromArguments
public static org.apache.hadoop.hbase.filter.Filter createFilterFromArguments(ArrayList<byte[]> filterArguments) -
parseFrom
public static AlwaysFalseFilter parseFrom(byte[] pbBytes) throws org.apache.hadoop.hbase.exceptions.DeserializationException - Parameters:
pbBytes- A pb serializedFirstKeyOnlyFilterinstance- Returns:
- An instance of
FirstKeyOnlyFiltermade frombytes - Throws:
org.apache.hadoop.hbase.exceptions.DeserializationException- See Also:
-
FilterBase.toByteArray()
-
filterKeyValue
public org.apache.hadoop.hbase.filter.Filter.ReturnCode filterKeyValue(org.apache.hadoop.hbase.Cell v) throws IOException - Specified by:
filterKeyValuein classorg.apache.hadoop.hbase.filter.Filter- Throws:
IOException
-