Packages

case class Keyspace(bucket: Option[String] = None, scope: Option[String] = None, collection: Option[String] = None) extends Product with Serializable

The keyspace reflects a triple/coordinate of bucket, scope and collection.

Note that not all APIs need all three values to be set. Depending on the context where the keyspace is used or the type of service (i.e. kv vs. query) it might be sufficient to only provide a subset. See the individual semantics for each operation if in doubt.

bucket

the bucket name, if present.

scope

the scope name, if present.

collection

the collection name, if present.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Keyspace
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Keyspace(bucket: Option[String] = None, scope: Option[String] = None, collection: Option[String] = None)

    bucket

    the bucket name, if present.

    scope

    the scope name, if present.

    collection

    the collection name, if present.

Value Members

  1. val bucket: Option[String]
  2. val collection: Option[String]
  3. def isEmpty: Boolean
  4. val scope: Option[String]