does cassandra java datastax driver has a support for not equal operations or at least filtering nulls?
Something like
query = QueryBuilder.select().from(table).where(field.ne(null))
It's not a problem of the driver. Cassandra doesn't support the "is not null" operator nor the "is not equal" operator. Have a look at supported operators. So there's no way to filter nulls either.
By the way, if you have these needs, I think you probably have a problem in your model.
You can try:
select * from mytable where column_which_might_contain_null >= '';
if your column_which_might_contain_null
is a text
column.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With