public class OracleValueFilter
extends org.apache.hadoop.hbase.filter.CompareFilter
Constructor and Description |
---|
OracleValueFilter(org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable valueComparator)
Creates a new instance of an OracleValueFilter used in getVertices/getEdges operations.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.filter.Filter |
createFilterFromArguments(java.util.ArrayList<byte[]> filterArguments)
Given the filter's arguments construct the filter.
|
org.apache.hadoop.hbase.filter.Filter.ReturnCode |
filterKeyValue(org.apache.hadoop.hbase.Cell c)
Filter the row if the K/V pair is not found in the row data.
|
boolean |
filterRow()
Get filter status for this specified row
|
boolean |
hasFilterRow()
Check if this filter allows to filter a row
|
static OracleValueFilter |
parseFrom(byte[] pbBytes) |
void |
reset()
Reset filter row to true.
|
byte[] |
toByteArray()
Write filter's info as a byte array
|
equals, extractArguments, filterRowKey, getComparator, getCompareOperator, getOperator, hashCode, toString
filterAllRemaining, filterRowCells, filterRowKey, getNextCellHint, isFamilyEssential, transformCell
public OracleValueFilter(org.apache.hadoop.hbase.CompareOperator op, org.apache.hadoop.hbase.filter.ByteArrayComparable valueComparator)
op
- the compare op for row matchingvalueComparator
- the comparator for row matchingpublic static org.apache.hadoop.hbase.filter.Filter createFilterFromArguments(java.util.ArrayList<byte[]> filterArguments)
filterArguments
- the filter's arguments.Filter
object.public org.apache.hadoop.hbase.filter.Filter.ReturnCode filterKeyValue(org.apache.hadoop.hbase.Cell c)
filterKeyValue
in class org.apache.hadoop.hbase.filter.Filter
c
- the cell in questionpublic boolean filterRow()
filterRow
in class org.apache.hadoop.hbase.filter.FilterBase
public boolean hasFilterRow()
hasFilterRow
in class org.apache.hadoop.hbase.filter.FilterBase
public static OracleValueFilter parseFrom(byte[] pbBytes) throws org.apache.hadoop.hbase.exceptions.DeserializationException
org.apache.hadoop.hbase.exceptions.DeserializationException
public void reset()
reset
in class org.apache.hadoop.hbase.filter.FilterBase
public byte[] toByteArray() throws java.io.IOException
toByteArray
in class org.apache.hadoop.hbase.filter.FilterBase
java.io.IOException