public enum CouchbaseFeature extends Enum<CouchbaseFeature>
Enum Constant and Description |
---|
CCCP |
DCP |
FTS_BETA
Deprecated.
FTS is still in BETA in 4.5.0, likely to get major changes when switching to GA.
|
KV |
N1QL |
SPATIAL_VIEW |
SSL |
SUBDOC |
VIEW |
XATTR |
Modifier and Type | Method and Description |
---|---|
boolean |
isAvailableOn(Version serverVersion)
Checks if this feature is available on the provided server version.
|
static CouchbaseFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CouchbaseFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CouchbaseFeature KV
public static final CouchbaseFeature VIEW
public static final CouchbaseFeature CCCP
public static final CouchbaseFeature SSL
public static final CouchbaseFeature DCP
public static final CouchbaseFeature N1QL
public static final CouchbaseFeature SPATIAL_VIEW
public static final CouchbaseFeature SUBDOC
@Deprecated public static final CouchbaseFeature FTS_BETA
public static final CouchbaseFeature XATTR
public static CouchbaseFeature[] values()
for (CouchbaseFeature c : CouchbaseFeature.values()) System.out.println(c);
public static CouchbaseFeature valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isAvailableOn(Version serverVersion)
serverVersion
- the server side version to check againstCopyright © 2015 Couchbase, Inc.