How to read case-sensitive cassandra data

I need to get data from cassandra case insensitive. Please help me.

+3
source share
1 answer

Kassandra has no concept of case sensitivity. All data is saved as byte[], so not even String.

You can create your own comparator ( see the API ), which converts byte[]to String and ignores the case.

Another thing is simply to receive data and convert it on the client side.

Actually, your question is completely unclear regarding your goal, so I can not give more detailed information.

: , , . .

+8

Source: https://habr.com/ru/post/1763406/


All Articles