...
Execute Command
JSON Syntax
Code Block |
---|
|
EXECUTE COMMAND forcecompact WITH JSON '{ |
...
"keyspace" : "distributed_test_keyspace", |
...
...
"keys" : ["k4", "k2", "k7"] }'; |
Code Block |
---|
|
EXECUTE COMMAND rebuild WITH JSON '{ |
...
"keyspace" : “distributed_test_keyspace”, |
...
"sourceDataCenterName" : "datacenter1", |
...
...
"specificSources" : null, |
...
"excludeLocalDatacenterNodes" : true }'; |
Standard Syntax
Code Block |
---|
|
EXECUTE COMMAND [command_name] |
...
WITH keyspace=distributed_test_keyspace |
...
...
...
AND keys=["k4", "k2", "k7"]; |
...
COMMAND setconcurrentcompactors
WITH concurrent_compactors=5; |
Describe Command
Code Block |
---|
|
DESCRIBE COMMANDS | COMMAND command_name; |
DESCRIBE COMMANDS | COMMAND command_name
...