cql - How to change the default value of Cassandra counter -


in cassandra counter, if try increase counter in none existing row , creates row set value 0 , increase value requested.

my question can change default value not 0 else. example: previous bucket or similar (row2 = row1+value)

you can't set value of counter increment or decrement.

a counter column value 64-bit signed integer. cannot set value of counter, supports 2 operations: increment , decrement.

http://docs.datastax.com/en/cql/3.1/cql/cql_reference/counter_type.html


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -