Class Expression

    • Method Detail

      • supportsOperator

        public static boolean supportsOperator​(Operator operator)
      • isNotIndexed

        public abstract boolean isNotIndexed()
      • add

        public Expression add​(Operator op,
                              java.nio.ByteBuffer value)
        This adds an operation to the current Expression instance and returns the current instance.
        Parameters:
        op - the CQL3 operation
        value - the expression value
        Returns:
        the current expression with the added operation
      • isSatisfiedBy

        public boolean isSatisfiedBy​(java.nio.ByteBuffer columnValue)
        Used in post-filtering to determine is an indexed value matches the expression
      • toString

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

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object