org.apache.hadoop.hbase.filter
Class InclusiveStopRowFilter
java.lang.Object
org.apache.hadoop.hbase.filter.StopRowFilter
org.apache.hadoop.hbase.filter.InclusiveStopRowFilter
- All Implemented Interfaces:
- RowFilterInterface, Writable
public class InclusiveStopRowFilter
- extends StopRowFilter
Method Summary |
boolean |
filter(Text rowKey)
Filters on just a row key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InclusiveStopRowFilter
public InclusiveStopRowFilter()
- Default constructor, filters nothing. Required though for RPC
deserialization.
InclusiveStopRowFilter
public InclusiveStopRowFilter(Text stopRowKey)
- Constructor that takes a stopRowKey on which to filter
- Parameters:
stopRowKey
- rowKey to filter on.
filter
public boolean filter(Text rowKey)
- Description copied from class:
StopRowFilter
- Filters on just a row key.
- Specified by:
filter
in interface RowFilterInterface
- Overrides:
filter
in class StopRowFilter
- Returns:
- true if given row key is filtered and row should not be processed.
Copyright © 2006 The Apache Software Foundation