org.apache.hadoop.hbase.filter
Class InclusiveStopRowFilter

java.lang.Object
  extended by org.apache.hadoop.hbase.filter.StopRowFilter
      extended by 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.


Constructor Summary
InclusiveStopRowFilter()
          Default constructor, filters nothing.
InclusiveStopRowFilter(byte[] stopRowKey)
          Constructor that takes a stopRowKey on which to filter
 
Method Summary
 boolean filterRowKey(byte[] rowKey)
          Filters on just a row key. This is the first chance to stop a row.
 
Methods inherited from class org.apache.hadoop.hbase.filter.StopRowFilter
filterAllRemaining, filterColumn, filterRow, getStopRowKey, processAlways, readFields, reset, rowProcessed, validate, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

filterRowKey

public boolean filterRowKey(byte[] rowKey)
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