SGETCD

Get slice for a continuous key range and discrete column range:

Request arguments

Response

Slice:

Example

Get columns a and b for all the keys in range [:bar] (up to bar, excluded) in table mytable (returns: last key processed babar, { babar: { b : ["column value", nil]} }).

REQUEST                               RESPONSE

@12345678                             @12345678    
*11                                   *6   
$6                                    $5    
SGETCD                                babar   
$2                                    $5
42                                    babar
$7                                    $1    
mytable                               1    
$-1                                   $1    
$-1                                   b    
$-1                                   $12    
$3                                    column value    
bar                                   $-1
$1                                    
0                                     
$1    
2    
$1    
a    
$1    
b