|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.filter.StopRowFilter
public class StopRowFilter
Implementation of RowFilterInterface that filters out rows greater than or equal to a specified rowKey.
| Constructor Summary | |
|---|---|
StopRowFilter()
Deprecated. Default constructor, filters nothing. |
|
StopRowFilter(byte[] stopRowKey)
Deprecated. Constructor that takes a stopRowKey on which to filter |
|
| Method Summary | |
|---|---|
boolean |
filterAllRemaining()
Deprecated. Determines if the filter has decided that all remaining results should be filtered (skipped). |
boolean |
filterColumn(byte[] rowKey,
byte[] colKey,
byte[] data)
Deprecated. Because StopRowFilter does not examine column information, this method defaults to calling the rowKey-only version of filter. |
boolean |
filterColumn(byte[] rowKey,
int roffset,
int rlength,
byte[] colunmName,
int coffset,
int clength,
byte[] columnValue,
int voffset,
int vlength)
Deprecated. Filters on row key, column name, and column value. |
boolean |
filterRow(List<KeyValue> results)
Deprecated. Filter on the fully assembled row. |
boolean |
filterRow(SortedMap<byte[],Cell> columns)
Deprecated. Because StopRowFilter does not examine column information, this method defaults to calling filterAllRemaining(). |
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. |
byte[] |
getStopRowKey()
Deprecated. An accessor for the stopRowKey |
boolean |
processAlways()
Deprecated. Returns whether or not the filter should always be processed in any filtering call. |
void |
readFields(DataInput in)
Deprecated. |
void |
reset()
Deprecated. Resets the state of the filter. |
void |
rowProcessed(boolean filtered,
byte[] rowKey)
Deprecated. Called to let filter know the final decision (to pass or filter) on a given row. |
void |
rowProcessed(boolean filtered,
byte[] key,
int offset,
int length)
Deprecated. Called to let filter know the final decision (to pass or filter) on a given row. |
void |
validate(byte[][] columns)
Deprecated. Validates that this filter applies only to a subset of the given columns. |
void |
write(DataOutput out)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StopRowFilter()
public StopRowFilter(byte[] stopRowKey)
stopRowKey - rowKey to filter on.| Method Detail |
|---|
public byte[] getStopRowKey()
public void validate(byte[][] columns)
RowFilterInterface
validate in interface RowFilterInterfacepublic void reset()
RowFilterInterface
reset in interface RowFilterInterface
public void rowProcessed(boolean filtered,
byte[] rowKey)
RowFilterInterface
rowProcessed in interface RowFilterInterfaceRowFilterSet
public void rowProcessed(boolean filtered,
byte[] key,
int offset,
int length)
RowFilterInterface
rowProcessed in interface RowFilterInterfaceRowFilterSetpublic boolean processAlways()
RowFilterInterface
processAlways in interface RowFilterInterfacepublic boolean filterAllRemaining()
RowFilterInterface
filterAllRemaining in interface RowFilterInterfacepublic boolean filterRowKey(byte[] rowKey)
RowFilterInterface
filterRowKey in interface RowFilterInterface
public boolean filterRowKey(byte[] rowKey,
int offset,
int length)
RowFilterInterface
filterRowKey in interface RowFilterInterface
public boolean filterColumn(byte[] rowKey,
byte[] colKey,
byte[] data)
filterColumn in interface RowFilterInterfacerowKey - colKey - data -
public boolean filterColumn(byte[] rowKey,
int roffset,
int rlength,
byte[] colunmName,
int coffset,
int clength,
byte[] columnValue,
int voffset,
int vlength)
RowFilterInterface
filterColumn in interface RowFilterInterfacerowKey - row key to filter on.colunmName - column name to filter oncolumnValue - column value to filter on
public boolean filterRow(SortedMap<byte[],Cell> columns)
filterRow in interface RowFilterInterfacecolumns -
public boolean filterRow(List<KeyValue> results)
RowFilterInterface
filterRow in interface RowFilterInterface
public void readFields(DataInput in)
throws IOException
readFields in interface org.apache.hadoop.io.WritableIOException
public void write(DataOutput out)
throws IOException
write in interface org.apache.hadoop.io.WritableIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||