public enum CouchbaseService extends java.lang.Enum<CouchbaseService>
| Enum Constant and Description |
|---|
ANALYTICS
Analytics service.
|
EVENTING
Eventing service.
|
INDEX
Indexing service (needed if QUERY is also used!).
|
KV
Key-Value service.
|
QUERY
Query (N1QL) service.
|
SEARCH
Search (FTS) service.
|
| Modifier and Type | Method and Description |
|---|---|
static CouchbaseService |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CouchbaseService[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CouchbaseService KV
public static final CouchbaseService QUERY
Note that the query service has no memory quota, so it is set to 0.
public static final CouchbaseService SEARCH
public static final CouchbaseService INDEX
public static final CouchbaseService ANALYTICS
public static final CouchbaseService EVENTING
public static CouchbaseService[] values()
for (CouchbaseService c : CouchbaseService.values()) System.out.println(c);
public static CouchbaseService valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null