read an Object (gotten from CB) to the data object of type T
read an Object (gotten from CB) to the data object of type T
the Object gotten from CB
the data object of type T
Get the document
Get the document
CB key
a Future of T (when get success, the gotten value can be null depends on the implement of CBReads[T].reads)
CBException(ERR_NOT_FOUND) when key not found, or other CBException
Bulk get documents
Bulk get documents
a Seq of CB keys
a Future of Seq of T (can be null depends on the implement of CBReads[T].reads)
when the underlying CouchbaseClient's method fail
java.util.NoSuchElementExceptioninsteads of CBException(ERR_NOT_FOUND) when some keys not found
Bulk get documents
Bulk get documents
a Seq of CB keys
a Future of Seq of Option[T]
when the underlying CouchbaseClient's method fail
This trait implement methods get, getBulkImpl, getBulkOptionImpl based on a need-impl method reads: Object => T
type of the data class that we want to read from CB