public class CollectionIdentifier extends Object
CollectionIdentifier
uniquely identifies the position of a collection.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_COLLECTION |
static String |
DEFAULT_SCOPE |
Constructor and Description |
---|
CollectionIdentifier(String bucket,
Optional<String> scope,
Optional<String> collection) |
Modifier and Type | Method and Description |
---|---|
String |
bucket() |
Optional<String> |
collection() |
boolean |
equals(Object o) |
static CollectionIdentifier |
fromDefault(String bucket) |
int |
hashCode() |
boolean |
isDefault() |
Optional<String> |
scope() |
String |
toString() |
public static final String DEFAULT_SCOPE
public static final String DEFAULT_COLLECTION
public static CollectionIdentifier fromDefault(String bucket)
public String bucket()
public boolean isDefault()
Copyright © 2020 Couchbase, Inc.. All rights reserved.