public enum ServiceType extends Enum<ServiceType>
Represents the different ServiceType
s and how they map onto buckets.
Enum Constant and Description |
---|
ANALYTICS
Analytics operations.
|
BINARY
Key/Value type operations.
|
CONFIG
HTTP config operations.
|
QUERY
Query (N1QL) operations.
|
SEARCH
Search (CBFT) operations.
|
VIEW
Views and Design Documents.
|
Modifier and Type | Method and Description |
---|---|
BucketServiceMapping |
mapping() |
static ServiceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceType VIEW
public static final ServiceType BINARY
public static final ServiceType QUERY
public static final ServiceType CONFIG
public static final ServiceType SEARCH
public static final ServiceType ANALYTICS
public static ServiceType[] values()
for (ServiceType c : ServiceType.values()) System.out.println(c);
public static ServiceType 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 BucketServiceMapping mapping()
Copyright © 2018 Couchbase, Inc.. All rights reserved.