Skip to content

Instantly share code, notes, and snippets.

@ceocoder
Created October 6, 2010 18:52
Show Gist options
  • Save ceocoder/613876 to your computer and use it in GitHub Desktop.
Save ceocoder/613876 to your computer and use it in GitHub Desktop.
class SuperSliceSelector(
rows: List[Array[Byte]],
slice: Slice) extends SuperReadable with Deletable {
def toRead(cf: String) =
new Read(rows, cf, slice = Some(slice))
def toDelete(cf: String, clock: Clock) =
new Delete(rows, cf, slice = Some(slice), clock = clock)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment