Class RowFilter.CustomExpression

  • Enclosing class:
    RowFilter

    public static final class RowFilter.CustomExpression
    extends RowFilter.Expression
    A custom index expression for use with 2i implementations which support custom syntax and which are not necessarily linked to a single column in the base table.
    • Constructor Detail

    • Method Detail

      • getValue

        public java.nio.ByteBuffer getValue()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • isSatisfiedBy

        public boolean isSatisfiedBy​(TableMetadata metadata,
                                     DecoratedKey partitionKey,
                                     Row row)
        Description copied from class: RowFilter.Expression
        Returns whether the provided row satisfied this expression or not.
        Specified by:
        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).
        Returns:
        whether the row is satisfied by this expression.