I would (ideally) like to update a row in Cassandra utilizing pure JSON (e.g., analogous to the "INSERT INTO <table_name> JSON '<json_object_string>';
" CQL statement). However, it does not appear that such functionality exists via the CQL UPDATE statement.
One (brain dead) approach that I considered was to delete and then reinsert the relevant row. However, that approach definitely has its drawbacks -- thus, eliminating it from my consideration set.
I implemented a version utilizing the "UPDATE <table_name> SET <key1> = '<new_value1>', <key2> = '<new_value2>', ..., <keyN> = '<new_valueN>';
" CQL statement. However, if there were something like "UPDATE <table_name> JSON '<new_json_object_string>';
", I would really like to know about that.