question

basfoor_45284 avatar image
basfoor_45284 asked Lewisr650 answered

Tombstones and Unset

In order to solve the tombstone issue due to null values, we have two options: 1. use prepare statement and Unset and 2. use Spring overriding classes to avoid tombstones. Which one would be preferred and recommended by Datastax?

cassandra
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Lewisr650 avatar image
Lewisr650 answered

It all depends on what your technology standards are. I would not implement Spring if it's not already part of your project. Another option is to use Datastax Object Mapper int he DSE Drivers to do the same function:

https://docs.datastax.com/en/devapp/doc/devapp/driversObjectMappers.html

Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.