Esempio n. 1
0
 public KeyRange ToRange(T1 item1)
 {
     //TODO: add concept of "range" on IKeyEncoder ?
     return(KeyRange.PrefixedBy(Encode(item1)));
 }
 public KeyRange PackRange(STuple <T1, T2, T3, T4> tuple)
 {
     //HACKHACK: add concept of "range" on  IKeyEncoder ?
     return(KeyRange.PrefixedBy(Encode(tuple.Item1, tuple.Item2, tuple.Item3, tuple.Item4)));
 }