public class OracleValueFilter
extends org.apache.hadoop.hbase.filter.CompareFilter
| Constructor and Description |
|---|
OracleValueFilter(org.apache.hadoop.hbase.filter.CompareFilter.CompareOp 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(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
|
extractArguments, getComparator, getOperator, toString
public OracleValueFilter(org.apache.hadoop.hbase.filter.CompareFilter.CompareOp 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(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.FilterBasec - the cell in questionpublic boolean filterRow()
filterRow in class org.apache.hadoop.hbase.filter.FilterBasepublic boolean hasFilterRow()
hasFilterRow in class org.apache.hadoop.hbase.filter.FilterBasepublic static OracleValueFilter parseFrom(byte[] pbBytes) throws org.apache.hadoop.hbase.exceptions.DeserializationException
org.apache.hadoop.hbase.exceptions.DeserializationExceptionpublic void reset()
reset in class org.apache.hadoop.hbase.filter.FilterBase
public byte[] toByteArray()
throws IOException
toByteArray in class org.apache.hadoop.hbase.filter.FilterBaseIOExceptionCopyright © 2016 Oracle and/or its affiliates. All Rights Reserved.