-
Notifications
You must be signed in to change notification settings - Fork 699
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add the custom commands of TairString、TairHash and TairZset
Signed-off-by: liyaojie <[email protected]>
- Loading branch information
Showing
4 changed files
with
152 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"EXHSET": { | ||
"summary": "TairHash, Insert a field into the TairHash specified by the key", | ||
"complexity": "O(1)", | ||
"group": "TairHash", | ||
"container": "TairHash", | ||
"function": "exhsetCommand", | ||
"key_specs": [ | ||
{ | ||
"flags": [ | ||
"RW", | ||
"UPDATE" | ||
], | ||
"begin_search": { | ||
"index": { | ||
"pos": 1 | ||
} | ||
}, | ||
"find_keys": { | ||
"range": { | ||
"lastkey": 0, | ||
"step": 1, | ||
"limit": 0 | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"EXSET": { | ||
"summary": "TairString, Set the value of a key", | ||
"complexity": "O(1)", | ||
"group": "TairString", | ||
"container": "TairString", | ||
"function": "exsetCommand", | ||
"key_specs": [ | ||
{ | ||
"flags": [ | ||
"RW", | ||
"UPDATE" | ||
], | ||
"begin_search": { | ||
"index": { | ||
"pos": 1 | ||
} | ||
}, | ||
"find_keys": { | ||
"range": { | ||
"lastkey": 0, | ||
"step": 1, | ||
"limit": 0 | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"EXZADD": { | ||
"summary": "TairZset, Adds all the specified members with the specified (multi)scores to the tairzset stored at key", | ||
"complexity": "O(N)", | ||
"group": "TairZset", | ||
"container": "TairZset", | ||
"function": "exzaddCommand", | ||
"key_specs": [ | ||
{ | ||
"flags": [ | ||
"RW", | ||
"UPDATE" | ||
], | ||
"begin_search": { | ||
"index": { | ||
"pos": 1 | ||
} | ||
}, | ||
"find_keys": { | ||
"range": { | ||
"lastkey": 0, | ||
"step": 1, | ||
"limit": 0 | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} |