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

Deprecated. Use filters that are rooted on @{link Filter} instead

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()
          Deprecated. Default constructor, filters nothing.
InclusiveStopRowFilter(byte[] stopRowKey)
          Deprecated. Constructor that takes a stopRowKey on which to filter
 
Method Summary
 boolean filterRowKey(byte[] rowKey)
          Deprecated. Filters on just a row key.
 boolean filterRowKey(byte[] rowKey, int offset, int length)
          Deprecated. Filters on just a row key.
 
Methods inherited from class org.apache.hadoop.hbase.filter.StopRowFilter
filterAllRemaining, filterColumn, filterColumn, filterRow, filterRow, getStopRowKey, processAlways, readFields, reset, rowProcessed, 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()
Deprecated. 
Default constructor, filters nothing. Required though for RPC deserialization.


InclusiveStopRowFilter

public InclusiveStopRowFilter(byte[] stopRowKey)
Deprecated. 
Constructor that takes a stopRowKey on which to filter

Parameters:
stopRowKey - rowKey to filter on.
Method Detail

filterRowKey

public boolean filterRowKey(byte[] rowKey)
Deprecated. 
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.
See Also:
StopRowFilter.filterRowKey(byte[])

filterRowKey

public boolean filterRowKey(byte[] rowKey,
                            int offset,
                            int length)
Deprecated. 
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 © 2010 The Apache Software Foundation