By default, mintDS will listen for TCP connections on port 7657. It uses a simple ASCII protocol that is similar to redis and memcached.
| Commands | Request | Response |
|---|---|---|
| create | create bloomfilter myfilter --probability=0.01 --capacity=1000000 |
success | exists | failure {msg} |
| exists | exists bloomfilter myfilter | yes | no | failure {msg} |
| add | add bloomfilter myfilter myvalue | success | failure {msg} |
| contains | contains bloomfilter myfilter myvalue | yes | no | failure {msg} |
| drop | drop bloomfilter myfilter | success | non_existent | failure {msg} |
| Commands | Request | Response |
|---|---|---|
| create | create countingbloomfilter myfilter --probability=0.01 --capacity=1000000 |
success | exists | failure {msg} |
| exists | exists countingbloomfilter myfilter | yes | no | failure {msg} |
| add | add countingbloomfilter myfilter myvalue | success | failure {msg} |
| remove | remove countingbloomfilter myfilter myvalue | success | failure {msg} |
| contains | contains countingbloomfilter myfilter myvalue | yes | no | failure {msg} |
| count | count countingbloomfilter myfilter myvalue | {number} | failure {msg} |
| drop | drop countingbloomfilter myfilter | success | non_existent | failure {msg} |
| Commands | Request | Response |
|---|---|---|
| create | create hyperloglog mylog | success | exists | failure {msg} |
| exists | exists hyperloglog mylog | yes | no | failure {msg} |
| add | add hyperloglog mylog myvalue | success | failure {msg} |
| count | count hyperloglog mylog | {number} | failure {msg} |
| drop | drop hyperloglog mylog | success | non_existent | failure {msg} |
| Commands | Request | Response |
|---|---|---|
| create | create countminsketch mysketch | success | exists | failure {msg} |
| exists | exists countminsketch mysketch | yes | no | failure {msg} |
| add | add countminsketch mysketch myvalue | success | failure {msg} |
| count | count countminsketch mysketch myvalue | {number} | failure {msg} |
| drop | drop countminsketch mysketch | success | non_existent | failure {msg} |
| Commands | Request | Response |
|---|---|---|
| create | create linearcounter mycounter | success | exists | failure {msg} |
| exists | exists linearcounter mycounter | yes | no | failure {msg} |
| add | add linearcounter mycounter myvalue | success | failure {msg} |
| count | count linearcounter mycounter | {number} | failure {msg} |
| drop | drop linearcounter mycounter | success | non_existent | failure {msg} |