0 votes
in Cassandra by
How Cassandra Stores Data?

1 Answer

0 votes
by

All data stored as bytes

When you specify validator, Cassandra ensures those bytes are encoded as per requirement

Then a comparator orders the column based on the ordering specific to the encoding

While composite are just byte arrays with a specific encoding, for each component it stores a two byte length followed by the byte encoded component followed by a termination bit.

Related questions

0 votes
asked Feb 2, 2020 in Cassandra by rajeshsharma
0 votes
asked Mar 17 in Cassandra by rajeshsharma
...