Package com.couchbase.client.core.io
Class CollectionIdentifier
- java.lang.Object
-
- com.couchbase.client.core.io.CollectionIdentifier
-
public class CollectionIdentifier extends Object
TheCollectionIdentifieruniquely identifies the position of a collection.- Since:
- 2.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_COLLECTIONstatic StringDEFAULT_SCOPE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbucket()Optional<String>collection()booleanequals(Object o)static CollectionIdentifierfromDefault(String bucket)inthashCode()booleanisDefault()Optional<String>scope()Map<String,Object>toMap()StringtoString()
-
-
-
Field Detail
-
DEFAULT_SCOPE
public static final String DEFAULT_SCOPE
- See Also:
- Constant Field Values
-
DEFAULT_COLLECTION
public static final String DEFAULT_COLLECTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
fromDefault
public static CollectionIdentifier fromDefault(String bucket)
-
bucket
public String bucket()
-
isDefault
public boolean isDefault()
-
-