Package com.couchbase.client.core.config
Enum ClusterCapabilities
- java.lang.Object
-
- java.lang.Enum<ClusterCapabilities>
-
- com.couchbase.client.core.config.ClusterCapabilities
-
- All Implemented Interfaces:
Serializable
,Comparable<ClusterCapabilities>
public enum ClusterCapabilities extends Enum<ClusterCapabilities>
Contains all the cluster capabilities this SDK supports (depending on the server version, the cluster may export more than these).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENHANCED_PREPARED_STATEMENTS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRaw()
static ClusterCapabilities
valueOf(String name)
Returns the enum constant of this type with the specified name.static ClusterCapabilities[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENHANCED_PREPARED_STATEMENTS
public static final ClusterCapabilities ENHANCED_PREPARED_STATEMENTS
-
-
Method Detail
-
values
public static ClusterCapabilities[] 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 (ClusterCapabilities c : ClusterCapabilities.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClusterCapabilities 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()
-
-