Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Document `get_slice`.

  • Loading branch information...
commit c6fe9caa5c2e36cea80e01c8a6d797e30dce8d0a 1 parent 7f5e14e
@jlouis jlouis authored
Showing with 14 additions and 0 deletions.
  1. +14 −0
@@ -68,3 +68,17 @@ want.
Finally, we increment a counter on the *Gotham City* row. We spotted
some Batmans. The last parameter is the consistency level desired.
+### Get Slice ###
+A slice is a range of columns ordered by some ordering function
+(Usually lexicographic on the string). To get all superheroes in
+gotham city, we
+could do:
+ SliceRange = slice(<<"a">>, <<"z">>),
+ get_slice(Config, <<"gotham_city">>, CP, SliceRange, 1)
+to obtain Batman, Catwoman (Rrrrrawr!), Superman, Poison Ivy, and so
+on. Ok, some of those may not be superheroes exactly, but surely you
+get the idea.
Please sign in to comment.
Something went wrong with that request. Please try again.