public static final class RowFilter.CustomExpression extends RowFilter.Expression
RowFilter.Expression.Kindcolumn, operator, value| Constructor and Description |
|---|
CustomExpression(CFMetaData cfm,
IndexMetadata targetIndex,
java.nio.ByteBuffer value) |
| Modifier and Type | Method and Description |
|---|---|
IndexMetadata |
getTargetIndex() |
java.nio.ByteBuffer |
getValue() |
boolean |
isSatisfiedBy(CFMetaData metadata,
DecoratedKey partitionKey,
Row row)
Returns whether the provided row satisfied this expression or not.
|
java.lang.String |
toString() |
column, equals, getIndexValue, getValue, hashCode, isContains, isContainsKey, isCustom, operator, validateForIndexingpublic CustomExpression(CFMetaData cfm, IndexMetadata targetIndex, java.nio.ByteBuffer value)
public IndexMetadata getTargetIndex()
public java.nio.ByteBuffer getValue()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isSatisfiedBy(CFMetaData metadata, DecoratedKey partitionKey, Row row)
RowFilter.ExpressionisSatisfiedBy in class RowFilter.ExpressionpartitionKey - the partition key for row to check.row - the row to check. It should *not* contain deleted cells
(i.e. it should come from a RowIterator).Copyright © 2016 The Apache Software Foundation