Packages

c

com.couchbase.client.scala

AsyncBinaryCollection

class AsyncBinaryCollection extends AnyRef

Operations on non-JSON Couchbase documents.

This is an asynchronous version of the BinaryCollection API. See also ReactiveBinaryCollection.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AsyncBinaryCollection
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AsyncBinaryCollection(async: AsyncCollection)

Value Members

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.