class AsyncBinaryCollection extends AnyRef
Operations on non-JSON Couchbase documents.
This is an asynchronous version of the BinaryCollection API. See also ReactiveBinaryCollection.
- Alphabetic
- By Inheritance
- AsyncBinaryCollection
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AsyncBinaryCollection(async: AsyncCollection)
Value Members
-
def
append(id: String, content: Array[Byte], options: AppendOptions): Future[MutationResult]
Add bytes to the end of a Couchbase binary document.
Add bytes to the end of a Couchbase binary document.
This asynchronous version performs the same functionality and takes the same parameters, but returns the same result object asynchronously in a
Future
. See the equivalent method in BinaryCollection for details. -
def
append(id: String, content: Array[Byte], cas: Long = 0, durability: Durability = Disabled, timeout: Duration = Duration.MinusInf): Future[MutationResult]
Add bytes to the end of a Couchbase binary document.
Add bytes to the end of a Couchbase binary document.
This asynchronous version performs the same functionality and takes the same parameters, but returns the same result object asynchronously in a
Future
. See the equivalent method in BinaryCollection for details. -
def
decrement(id: String, delta: Long, options: DecrementOptions): Future[CounterResult]
Decrement a Couchbase 'counter' document.
Decrement a Couchbase 'counter' document.
This asynchronous version performs the same functionality and takes the same parameters, but returns the same result object asynchronously in a
Future
. See the equivalent method in BinaryCollection for details. -
def
decrement(id: String, delta: Long, initial: Option[Long] = None, durability: Durability = Disabled, timeout: Duration = Duration.MinusInf): Future[CounterResult]
Decrement a Couchbase 'counter' document.
Decrement a Couchbase 'counter' document.
This asynchronous version performs the same functionality and takes the same parameters, but returns the same result object asynchronously in a
Future
. See the equivalent method in BinaryCollection for details. -
def
increment(id: String, delta: Long, options: IncrementOptions): Future[CounterResult]
Increment a Couchbase 'counter' document.
Increment a Couchbase 'counter' document.
This asynchronous version performs the same functionality and takes the same parameters, but returns the same result object asynchronously in a
Future
. See the equivalent method in BinaryCollection for details. -
def
increment(id: String, delta: Long, initial: Option[Long] = None, durability: Durability = Disabled, timeout: Duration = Duration.MinusInf): Future[CounterResult]
Increment a Couchbase 'counter' document.
Increment a Couchbase 'counter' document.
This asynchronous version performs the same functionality and takes the same parameters, but returns the same result object asynchronously in a
Future
. See the equivalent method in BinaryCollection for details. -
def
prepend(id: String, content: Array[Byte], options: PrependOptions): Future[MutationResult]
Add bytes to the beginning of a Couchbase binary document.
Add bytes to the beginning of a Couchbase binary document.
This asynchronous version performs the same functionality and takes the same parameters, but returns the same result object asynchronously in a
Future
. See the equivalent method in BinaryCollection for details. -
def
prepend(id: String, content: Array[Byte], cas: Long = 0, durability: Durability = Disabled, timeout: Duration = Duration.MinusInf): Future[MutationResult]
Add bytes to the beginning of a Couchbase binary document.
Add bytes to the beginning of a Couchbase binary document.
This asynchronous version performs the same functionality and takes the same parameters, but returns the same result object asynchronously in a
Future
. See the equivalent method in BinaryCollection for details.