public class TransactionKeyspace extends Object
Modifier and Type | Method and Description |
---|---|
String |
bucket()
The name of the bucket.
|
String |
collection()
The name of the collection.
|
static TransactionKeyspace |
create(String bucket)
Creates a keyspace with a bucket name and default scope and default collection.
|
static TransactionKeyspace |
create(String bucket,
String collection)
Creates a keyspace with a bucket name, collection name and default scope.
|
static TransactionKeyspace |
create(String bucket,
String scope,
String collection)
Creates a keyspace with bucket name, scope name and collection name.
|
String |
scope()
The name of the scope.
|
String |
toString() |
public static TransactionKeyspace create(String bucket)
bucket
- the name of the bucket.public static TransactionKeyspace create(String bucket, String collection)
bucket
- the name of the bucket.collection
- the name of the collection.public static TransactionKeyspace create(String bucket, String scope, String collection)
bucket
- the name of the bucket.scope
- the name of the scope.collection
- the name of the collection.public String bucket()
public String scope()
public String collection()
Copyright © 2024 Couchbase, Inc.. All rights reserved.