Map 2 param of type A, B to a CB key
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
Bulk get & change documents
Bulk get & change documents
a Seq of type A, will be used to generate a Seq of CB keys
a value of type B, will be used with seq l
to generate a Seq of CB keys
for each generated key, we will get the document from CB (then we will have a Option[T]).
This function f
is used to transform the gotten Option[T] to a value (of type T) to set to CB
a Future
when the underlying CouchbaseClient's method fail
Delete the document has key generated from 2 params a, b
Delete the document has key generated from 2 params a, b
be used to generate CB key
be used to generate CB key
a Future of java.lang.Boolean
when the underlying CouchbaseClient's method fail
Get the document has key generated from 2 params a, b
Get the document has key generated from 2 params a, b
be used to generate CB key
be used to generate 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
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 type A, will be used to generate a Seq of CB keys
a value of type B, will be used with seq l
to generate 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 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 type A, will be used to generate a Seq of CB keys
a value of type B, will be used with seq l
to generate a Seq of CB keys
a Future of Seq of Option[T]
when the underlying CouchbaseClient's method fail
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
Set the document has key generated from 2 params a, b
Set the document has key generated from 2 params a, b
be used to generate CB key
be used to generate CB key
a Future of java.lang.Boolean
when the underlying CouchbaseClient's method fail
Set the document to CB
Set the document to CB
a Future of java.lang.Boolean
when the underlying CouchbaseClient's method fail
Bulk set documents
Bulk set documents
a Seq of type A, will be used to generate a Seq of CB keys
a value of type B, will be used with seq l
to generate a Seq of CB keys
a Seq of data to store to CB. l
and values
is mapped 1-1
a Future
when the underlying CouchbaseClient's method fail
Bulk set documents
Bulk set documents
a Seq of CB keys
a Seq of data to store to CB. keys
and values
is mapped 1-1
a Future
when the underlying CouchbaseClient's method fail
This trait mix ReadsKey2 with WritesKey2
type of the data class that we want to read from and write to CB
type of the first param being used to generate the a of a CB document
type of the second param being used to generate the a of a CB document