SCARD Syntax Return Examples SCARD Syntax SCARD key Time complexity: O(1) Returns the set cardinality (number of elements) of the set stored at key . Return Integer r...
GETSET Syntax Design pattern Return Examples GETSET Syntax GETSET key value Time complexity: O(1) Atomically sets key to value and returns the old value stored at ke...
GETSET Syntax Design pattern Return Examples GETSET Syntax GETSET key value Time complexity: O(1) Atomically sets key to value and returns the old value stored at ke...
ZPOPMIN Syntax Return Examples ZPOPMIN Syntax ZPOPMIN key [ count ] Time complexity: O(log(N)*M) with N being the number of elements in the sorted set, and M being the ...
XLEN Syntax Return Examples XLEN Syntax XLEN key Time complexity: O(1) ACL categories: @read, @stream, @fast Returns the number of entries inside a stream. If the spe...
PFMERGE Syntax Return Examples PFMERGE Syntax PFMERGE destkey [ sourcekey [ sourcekey ...]] Time complexity: O(N) to merge N HyperLogLogs, but with high constant time...