akka.stream.alpakka.couchbase.scaladsl
Close the session and release all resources it holds.
Close the session and release all resources it holds. Subsequent calls to other methods will likely fail.
Create or increment a counter
Create or increment a counter
What counter document id
Value to increase the counter with if it does exist
Value to start from if the counter does not exist
The value of the counter after applying the delta
Create or increment a counter
Create or increment a counter
What counter document id
Value to increase the counter with if it does exist
Value to start from if the counter does not exist
The value of the counter after applying the delta
Create a secondary index for the current bucket.
Create a secondary index for the current bucket.
the name of the index.
if a secondary index already exists with that name, an exception will be thrown unless this is set to true.
the JSON fields to index - each can be either String
or [com.couchbase.client.java.query.dsl.Expression]
an scala.concurrent.Future
of true if the index was/will be effectively created, false
if the index existed and ignoreIfExist is true. Completion of the future does not guarantee the index is online
and ready to be used.
A document of the given type if found or none if there is no document for the id
fail the returned future with a TimeoutException if it takes longer than this
A document if found or none if there is no document for the id
A document of the given type if found or none if there is no document for the id
A document if found or none if there is no document for the id
Insert a JSON document using the given write settings.
Insert a JSON document using the given write settings.
For inserting other types of documents see insertDoc
.
Insert a JSON document using the default write settings.
Insert a JSON document using the default write settings.
For inserting other types of documents see insertDoc
.
A future that completes with the written document when the write completes
Insert any type of document using the given write settings.
Insert any type of document using the given write settings. Separate from insert
to make the most common
case smoother with the type inference
A future that completes with the written document when the write completes
Insert any type of document using the default write settings.
Insert any type of document using the default write settings. Separate from insert
to make the most common
case smoother with the type inference
A future that completes with the written document when the write completes
List the existing secondary indexes for the bucket
Remove a document by id using the default write settings.
Remove a document by id using the default write settings.
Future that completes when the document has been removed, if there is no such document
the future is failed with a DocumentDoesNotExistException
Remove a document by id using the default write settings.
Remove a document by id using the default write settings.
Future that completes when the document has been removed, if there is no such document
the future is failed with a DocumentDoesNotExistException
Upsert using the given write settings
Upsert using the given write settings
For upserting other types of documents see upsertDoc
.
a future that completes when the upsert is done
Upsert using the default write settings.
Upsert using the default write settings.
For upserting other types of documents see upsertDoc
.
a future that completes when the upsert is done
Upsert using the given write settings
Upsert using the given write settings
Separate from upsert
to make the most common case smoother with the type inference
a future that completes when the upsert is done
Upsert using the default write settings.
Upsert using the default write settings.
Separate from upsert
to make the most common case smoother with the type inference
a future that completes when the upsert is done
Not for user extension