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, org.apache.hadoop.io.Writable
public class InclusiveStopRowFilter
- extends StopRowFilter
Subclass of StopRowFilter that filters rows > the stop row,
making it include up to the last row but no further.
Method Summary |
boolean |
filterRowKey(byte[] 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(byte[] stopRowKey)
- Constructor that takes a stopRowKey on which to filter
- Parameters:
stopRowKey
- rowKey to filter on.
filterRowKey
public boolean filterRowKey(byte[] rowKey)
- Description copied from interface:
RowFilterInterface
- Filters on just a row key. This is the first chance to stop a row.
- Specified by:
filterRowKey
in interface RowFilterInterface
- Overrides:
filterRowKey
in class StopRowFilter
- Returns:
- true if given row key is filtered and row should not be processed.
Copyright © 2008 The Apache Software Foundation