Package com.couchbase.client.core.config
Enum BucketCapabilities
- java.lang.Object
-
- java.lang.Enum<BucketCapabilities>
-
- com.couchbase.client.core.config.BucketCapabilities
-
- All Implemented Interfaces:
Serializable
,Comparable<BucketCapabilities>
public enum BucketCapabilities extends Enum<BucketCapabilities>
Describes the bucket capabilities in an abstract fashion as provided by the server.- Since:
- 1.4.3
- Author:
- Michael Nitschinger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CBHELLO
CCCP
COLLECTIONS
COUCHAPI
CREATE_AS_DELETED
DCP
DURABLE_WRITE
NODES_EXT
RANGE_SCAN
SNAPPY
SUBDOC_REPLACE_BODY_WITH_XATTR
SUBDOC_REVIVE_DOCUMENT
TOUCH
XATTR
XDCR_CHECKPOINTING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRaw()
static BucketCapabilities
valueOf(String name)
Returns the enum constant of this type with the specified name.static BucketCapabilities[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CBHELLO
public static final BucketCapabilities CBHELLO
-
TOUCH
public static final BucketCapabilities TOUCH
-
COUCHAPI
public static final BucketCapabilities COUCHAPI
-
CCCP
public static final BucketCapabilities CCCP
-
XDCR_CHECKPOINTING
public static final BucketCapabilities XDCR_CHECKPOINTING
-
NODES_EXT
public static final BucketCapabilities NODES_EXT
-
DCP
public static final BucketCapabilities DCP
-
XATTR
public static final BucketCapabilities XATTR
-
SNAPPY
public static final BucketCapabilities SNAPPY
-
COLLECTIONS
public static final BucketCapabilities COLLECTIONS
-
DURABLE_WRITE
public static final BucketCapabilities DURABLE_WRITE
-
CREATE_AS_DELETED
public static final BucketCapabilities CREATE_AS_DELETED
-
SUBDOC_REPLACE_BODY_WITH_XATTR
public static final BucketCapabilities SUBDOC_REPLACE_BODY_WITH_XATTR
-
SUBDOC_REVIVE_DOCUMENT
public static final BucketCapabilities SUBDOC_REVIVE_DOCUMENT
-
RANGE_SCAN
public static final BucketCapabilities RANGE_SCAN
-
-
Method Detail
-
values
public static BucketCapabilities[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BucketCapabilities c : BucketCapabilities.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BucketCapabilities valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getRaw
public String getRaw()
-
-