public static enum AssignmentPolicy.Kind extends Enum<AssignmentPolicy.Kind>
Enum Constant and Description |
---|
BUCKET |
LEGACY |
QUERY |
RANGE |
SEGMENT |
STATISTICAL |
Modifier and Type | Method and Description |
---|---|
static AssignmentPolicy.Kind |
forName(String type) |
static AssignmentPolicy.Kind |
valueOf(String name)
Returns the enum constant of this type with the
specified name.
|
static AssignmentPolicy.Kind[] |
values()
Returns an array containing the constants of
this enum type, in the order they are declared.
|
public static final AssignmentPolicy.Kind LEGACY
public static final AssignmentPolicy.Kind BUCKET
public static final AssignmentPolicy.Kind RANGE
public static final AssignmentPolicy.Kind STATISTICAL
public static final AssignmentPolicy.Kind QUERY
public static final AssignmentPolicy.Kind SEGMENT
public static AssignmentPolicy.Kind[] values()
for (AssignmentPolicy.Kind c : AssignmentPolicy.Kind.values()) System.out.println(c);
public static AssignmentPolicy.Kind 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 static AssignmentPolicy.Kind forName(String type)
Copyright © 2020 MarkLogic
Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server,
XQuery and related components may be found at
developer.marklogic.com