public class OracleAdjacentElementsFilter
extends org.apache.hadoop.hbase.filter.CompareFilter
| Constructor and Description |
|---|
OracleAdjacentElementsFilter(org.apache.hadoop.hbase.filter.CompareFilter.CompareOp op, org.apache.hadoop.hbase.filter.ByteArrayComparable qualifierComparator)
Creates a new instance of an OracleAdjacentElementsFilter 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 an instance of 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.
|
static OracleAdjacentElementsFilter |
parseFrom(byte[] pbBytes) |
byte[] |
toByteArray()
Write filter's info as a byte array
|
extractArguments, getComparator, getOperator, toString
public OracleAdjacentElementsFilter(org.apache.hadoop.hbase.filter.CompareFilter.CompareOp op,
org.apache.hadoop.hbase.filter.ByteArrayComparable qualifierComparator)
op - the compare op for row matchingqualifierComparator - the comparator for row matchingpublic static org.apache.hadoop.hbase.filter.Filter createFilterFromArguments(ArrayList<byte[]> filterArguments)
filterArguments - the filter's arguments.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 static OracleAdjacentElementsFilter parseFrom(byte[] pbBytes) throws org.apache.hadoop.hbase.exceptions.DeserializationException
org.apache.hadoop.hbase.exceptions.DeserializationException
public byte[] toByteArray()
throws IOException
toByteArray in class org.apache.hadoop.hbase.filter.FilterBaseIOExceptionCopyright © 2016 Oracle and/or its affiliates. All Rights Reserved.