Compound API Calls
Intent
Add new public API calls that make it easier for user to perform compound operations.
These operations are NOT atomic!!
Implementation
fetch(key, set<record>[, timestamp]) → map<record, set<value>>get(key, set<record>[, timestamp]) → map<record, value>fetch(set<key>, record[, timestamp]) → map<key, value>>get(set<key>, record[, timestamp]) → map<key, value>fetch(set<key>, set<record>[, timestamp]) → map<record, map<key, set<value>>>get(set<key>, set<record>[, timestamp]) → map<record, map<key, value>>add(key, value, set<record>) → booleanremove(key, value, set<record>) → boolean (?? should this return false if one of the removes fails?)set(key, value, set<record>) → booleanaudit(set<record>) → map<record, map<timestamp, string>> ???
clear(set<key>, record) → void [maybe boolean??? so user knows clear was successful[clear(key, set<record) → voidclear(set<key>, set<record>) → voiddescribe(set<record>[, timestamp]) → map<record, set<string>>)link(key, source, set<destination>) → booleanping(set<record>) → map<record, boolean>revert(key, set<record>) → booleanrevert(set<key>, record) → booleanrevert<set<key>, set<record>) → booleanfind??? how do i allow the user to imput multiple criterion??
- find???