object CouchbaseFlow
- Alphabetic
- By Inheritance
- CouchbaseFlow
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def delete(sessionSettings: CouchbaseSessionSettings, writeSettings: CouchbaseWriteSettings, bucketName: String): Flow[String, String, NotUsed]
Create a flow to delete documents from Couchbase by
id
.Create a flow to delete documents from Couchbase by
id
. Emits the sameid
. - def deleteWithResult(sessionSettings: CouchbaseSessionSettings, writeSettings: CouchbaseWriteSettings, bucketName: String): Flow[String, CouchbaseDeleteResult, NotUsed]
Create a flow to delete documents from Couchbase by
id
and emit operation outcome containing the sameid
. - def fromId[T <: Document[_]](sessionSettings: CouchbaseSessionSettings, bucketName: String, target: Class[T]): Flow[String, T, NotUsed]
Create a flow to query Couchbase for by
id
and emit documents of the given class. - def fromId(sessionSettings: CouchbaseSessionSettings, bucketName: String): Flow[String, JsonDocument, NotUsed]
Create a flow to query Couchbase for by
id
and emit JsonDocuments. - def replace(sessionSettings: CouchbaseSessionSettings, writeSettings: CouchbaseWriteSettings, bucketName: String): Flow[JsonDocument, JsonDocument, NotUsed]
Create a flow to replace a Couchbase JsonDocument.
- def replaceDoc[T <: Document[_]](sessionSettings: CouchbaseSessionSettings, writeSettings: CouchbaseWriteSettings, bucketName: String): Flow[T, T, NotUsed]
Create a flow to replace a Couchbase document of the given class.
- def replaceDocWithResult[T <: Document[_]](sessionSettings: CouchbaseSessionSettings, writeSettings: CouchbaseWriteSettings, bucketName: String): Flow[T, CouchbaseWriteResult[T], NotUsed]
Create a flow to replace a Couchbase document of the given class and emit a result so that write failures can be handled in-stream.
- def upsert(sessionSettings: CouchbaseSessionSettings, writeSettings: CouchbaseWriteSettings, bucketName: String): Flow[JsonDocument, JsonDocument, NotUsed]
Create a flow to update or insert a Couchbase JsonDocument.
- def upsertDoc[T <: Document[_]](sessionSettings: CouchbaseSessionSettings, writeSettings: CouchbaseWriteSettings, bucketName: String): Flow[T, T, NotUsed]
Create a flow to update or insert a Couchbase document of the given class.
- def upsertDocWithResult[T <: Document[_]](sessionSettings: CouchbaseSessionSettings, writeSettings: CouchbaseWriteSettings, bucketName: String): Flow[T, CouchbaseWriteResult[T], NotUsed]
Create a flow to update or insert a Couchbase document of the given class and emit a result so that write failures can be handled in-stream.