$ rel/riakcscalc/bin/riakcscalc rpc Elixir.RiakcsCalc.StorageConsole batch "['1']."
options is :"1"
options is atom true
$ rel/riakcscalc/bin/riakcscalc rpc Elixir.RiakcsCalc.StorageConsole batch "[\"1\"]."
options is '1'
options is list true
$ rel/riakcscalc/bin/riakcscalc rpc Elixir.RiakcsCalc.StorageConsole batch "\"1\"."
options is 49
options is integer true
$ rel/riakcscalc/bin/riakcscalc rpc Elixir.RiakcsCalc.StorageConsole batch "[\"1, 2\"]."
options is '1, 2'
options is list true
rel/riakcscalc/bin/riakcscalc rpc Elixir.RiakcsCalc.StorageConsole batch "[\"{recalc: 2}\"]."
options is '{recalc: 2}'
options is list true
$ rel/riakcscalc/bin/riakcscalc rpc Elixir.RiakcsCalc.StorageConsole batch "[\"[recalc: 2, only_buckets: [{key1, value1}, {key1, value2}]}\"]."
options is '[recalc: 2, only_buckets: [{key1, value1}, {key1, value2}]}'
options is list true, length is 59
rel/riakcscalc/bin/riakcscalc rpc Elixir.RiakcsCalc.StorageConsole batch "[{'aaa'}]."
options is {:aaa}
options is tuple true
$ rel/riakcscalc/bin/riakcscalc rpc Elixir.RiakcsCalc.StorageConsole batch "[[{'aaa', \"bbb\"}, {'ccc', \"ddd\"}]]."
options is [aaa: 'bbb', ccc: 'ddd']
options is list true
$ rel/riakcscalc/bin/riakcscalc rpc Elixir.RiakcsCalc.StorageConsole batch "[[{<<\"aaa\">>, \"bbb\"}, {'ccc', \"ddd\"}]]."
options is [{"aaa", 'bbb'}, {:ccc, 'ddd'}]
options is list true, length is 2
$ rel/riakcscalc/bin/riakcscalc rpc Elixir.RiakcsCalc.StorageConsole batch "[[{<<\"aaa\">>, <<\"bbb\">>}, {<<\"ccc\">>, <<\"ddd\">>}]]."
Using /home/opsadmin/riakcs-storage-calculation/rel/riakcscalc/releases/0.0.1/riakcscalc.sh
options is [{"aaa", "bbb"}, {"ccc", "ddd"}]
options is list true, length is 2
Created
March 25, 2016 08:40
-
-
Save wang-zhijun/de7c5b1243f925cf55fa to your computer and use it in GitHub Desktop.
ElixirのexrmライブラリのRPC機能を使う
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment