Keyspace

class Keyspace(bucket: String, @SinceCouchbase(value = "7.0") scope: String, @SinceCouchbase(value = "7.0") collection: String)

Identifies a collection by its fully-qualified path: bucket name, scope name, and collection name.

Called a "keyspace" because Couchbase document IDs (keys) are unique within a collection.

Constructors

Link copied to clipboard
fun Keyspace(bucket: String, @SinceCouchbase(value = "7.0") scope: String = DEFAULT_SCOPE, @SinceCouchbase(value = "7.0") collection: String = DEFAULT_COLLECTION)

Functions

Link copied to clipboard
fun copy(bucket: String = this.bucket, scope: String = this.scope, collection: String = this.collection): Keyspace
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val bucket: String
Link copied to clipboard
val collection: String
Link copied to clipboard
val scope: String