Returns the column name of the only column in the predicate.
Returns the column name of the only column in the predicate.
Will throw IllegalArgumentException
if predicate is not a single-column predicate.
Returns true for predicates of type: column = value
Returns true for predicates of type: column IN (value1, value2, ...)
Returns true for predicates of type: column (< | <= | >= | >) value
Returns true if the predicate restricts exactly one column.
A unified API for predicates, used by BasicCassandraPredicatePushDown.
Keeps all the Spark-specific stuff out of
BasicCassandraPredicatePushDown
It is also easy to plug-in custom predicate implementations for unit-testing.