akka.stream.alpakka.couchbase.javadsl
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 java.util.concurrent.CompletionStage of true if the index was/will be effectively created, false if the index existed and ignoreIfExist is true. Completion of the CompletionStage does not guarantee the index is online and ready to be used.
fail the returned CompletionStage with a TimeoutException if it takes longer than this
A document if found or none if there is no document for the id
fail the returned CompletionStage 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 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 CompletionStage that completes with the written document when the write completes
Insert a document using the given write settings.
Insert a document using the given write settings.
Separate from insert
to make the most common case smoother with the type inference
Insert a document using the default write settings.
Insert a document using the default write settings. Separate from insert
to make the most common
case smoother with the type inference
A CompletionStage 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.
CompletionStage that completes when the document has been removed, if there is no such document
the CompletionStage 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.
CompletionStage that completes when the document has been removed, if there is no such document
the CompletionStage is failed with a DocumentDoesNotExistException
Upsert using the given write settings.
Upsert using the given write settings.
For inserting other types of documents see upsertDoc
.
a CompletionStage that completes when the upsert is done
Upsert using the default write settings
Upsert using the default write settings
For inserting other types of documents see upsertDoc
.
a CompletionStage 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 CompletionStage 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 CompletionStage that completes when the upsert is done
Not for user extension
abstract class, otherwise static forwarders are missing for companion object if building with Scala 2.11