public enum ServiceType extends Enum<ServiceType>
Represents the different ServiceType
s and how they map onto buckets.
Enum Constant and Description |
---|
BINARY
Key/Value type operations.
|
CONFIG
HTTP config operations.
|
DCP
DCP operations
|
QUERY
Query (N1QL) 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 DCP
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 © 2015 Couchbase, Inc.. All rights reserved.