org.apache.hadoop.hbase.hbql.filter
Class RecordFilter
java.lang.Object
org.apache.hadoop.hbase.filter.FilterBase
org.apache.hadoop.hbase.hbql.filter.InstrumentedFilter
org.apache.hadoop.hbase.hbql.filter.RecordFilter
- All Implemented Interfaces:
- org.apache.hadoop.hbase.filter.Filter, org.apache.hadoop.io.Writable
public class RecordFilter
- extends InstrumentedFilter
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.filter.Filter |
org.apache.hadoop.hbase.filter.Filter.ReturnCode |
Methods inherited from class org.apache.hadoop.hbase.filter.FilterBase |
getNextKeyHint |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
record
public HRecordImpl record
RecordFilter
public RecordFilter()
newRecordFilter
public static RecordFilter newRecordFilter(ExpressionTree expressionTree)
hasFilterRow
public boolean hasFilterRow()
- Specified by:
hasFilterRow
in interface org.apache.hadoop.hbase.filter.Filter
- Overrides:
hasFilterRow
in class org.apache.hadoop.hbase.filter.FilterBase
setVerbose
public void setVerbose(boolean verbose)
- Specified by:
setVerbose
in class InstrumentedFilter
getVerbose
public boolean getVerbose()
- Specified by:
getVerbose
in class InstrumentedFilter
reset
public void reset()
- Specified by:
reset
in interface org.apache.hadoop.hbase.filter.Filter
- Overrides:
reset
in class org.apache.hadoop.hbase.filter.FilterBase
filterRowKey
public boolean filterRowKey(byte[] buffer,
int offset,
int length)
- Specified by:
filterRowKey
in interface org.apache.hadoop.hbase.filter.Filter
- Overrides:
filterRowKey
in class org.apache.hadoop.hbase.filter.FilterBase
filterAllRemaining
public boolean filterAllRemaining()
- Specified by:
filterAllRemaining
in interface org.apache.hadoop.hbase.filter.Filter
- Overrides:
filterAllRemaining
in class org.apache.hadoop.hbase.filter.FilterBase
filterRow
public void filterRow(List<org.apache.hadoop.hbase.KeyValue> keyValues)
- Specified by:
filterRow
in interface org.apache.hadoop.hbase.filter.Filter
- Overrides:
filterRow
in class org.apache.hadoop.hbase.filter.FilterBase
filterKeyValue
public org.apache.hadoop.hbase.filter.Filter.ReturnCode filterKeyValue(org.apache.hadoop.hbase.KeyValue v)
- Specified by:
filterKeyValue
in interface org.apache.hadoop.hbase.filter.Filter
- Overrides:
filterKeyValue
in class org.apache.hadoop.hbase.filter.FilterBase
filterRow
public boolean filterRow()
- Specified by:
filterRow
in interface org.apache.hadoop.hbase.filter.Filter
- Overrides:
filterRow
in class org.apache.hadoop.hbase.filter.FilterBase
write
public void write(DataOutput out)
throws IOException
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Throws:
IOException
testFilter
public static void testFilter(RecordFilter origFilter)
throws HBqlException,
IOException
- Throws:
HBqlException
IOException
Copyright © 2011. All Rights Reserved.