public static final class RowFilter.CustomExpression extends RowFilter.Expression
RowFilter.Expression.Kind
column, 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.
|
protected RowFilter.Expression.Kind |
kind() |
java.lang.String |
toString() |
column, equals, getIndexValue, getValue, hashCode, isContains, isContainsKey, isCustom, isUserDefined, operator, validate, validateForIndexing
public 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.Object
protected RowFilter.Expression.Kind kind()
kind
in class RowFilter.Expression
public boolean isSatisfiedBy(CFMetaData metadata, DecoratedKey partitionKey, Row row)
RowFilter.Expression
isSatisfiedBy
in class RowFilter.Expression
partitionKey
- 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 © 2020 The Apache Software Foundation