Created
July 2, 2012 21:58
-
-
Save rjenkins/3035985 to your computer and use it in GitHub Desktop.
RiakStorageDriver.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait RiakStorageDriver[K, T] { | |
def delete(t: T) | |
def deleteByKey(key: K) | |
def getByKey(key: K, converter: Converter[T]): Option[T] | |
def persist(key: K, t: T, converter: Converter[T]): T | |
def findFor2i(index: String, value: String, converter: Converter[T]): List[T] | |
def findFor2i(index: String, value: Int, converter: Converter[T]): List[T] | |
def deleteFor2i(index: String, value: String) | |
def deleteFor2i(index: String, value: Int) | |
def getBucket : String | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment