org.apache.hadoop.hbase.hbql.filter
Class RecordFilter
java.lang.Object
org.apache.hadoop.hbase.hbql.filter.RecordFilter
- All Implemented Interfaces:
- org.apache.hadoop.hbase.filter.Filter, InstrumentedFilter, org.apache.hadoop.io.Writable
public class RecordFilter
- extends Object
- implements InstrumentedFilter
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.filter.Filter |
org.apache.hadoop.hbase.filter.Filter.ReturnCode |
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)
setVerbose
public void setVerbose(boolean verbose)
- Specified by:
setVerbose
in interface InstrumentedFilter
getVerbose
public boolean getVerbose()
- Specified by:
getVerbose
in interface InstrumentedFilter
reset
public void reset()
- Specified by:
reset
in interface org.apache.hadoop.hbase.filter.Filter
filterRowKey
public boolean filterRowKey(byte[] buffer,
int offset,
int length)
- Specified by:
filterRowKey
in interface org.apache.hadoop.hbase.filter.Filter
filterAllRemaining
public boolean filterAllRemaining()
- Specified by:
filterAllRemaining
in interface org.apache.hadoop.hbase.filter.Filter
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
filterRow
public boolean filterRow()
- Specified by:
filterRow
in interface org.apache.hadoop.hbase.filter.Filter
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
testFilter
public static void testFilter(RecordFilter origFilter)
throws HBqlException,
IOException
- Throws:
HBqlException
IOException
Copyright © 2010. All Rights Reserved.