Learning Apache Cassandra by Mat Brown

Learning Apache Cassandra by Mat Brown

Author:Mat Brown [Brown, Mat]
Language: eng
Format: epub, mobi
Publisher: Packt Publishing
Published: 2015-02-25T05:00:00+00:00


In both cases, the query simply instructs Cassandra to set the email and encrypted_password columns to the given values in the row whose primary key is alice.

INSERT and UPDATE are not entirely redundant; however, each provides certain capabilities that the other does not. For instance, only INSERT supports the IF NOT EXISTS clause that we explored earlier. UPDATE queries also have distinctive functionality, not the least of which is conditional updates.

Optimistic locking with conditional updates



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.