public enum BulkResponseOption extends Enum<BulkResponseOption>
| Enum Constant and Description |
|---|
ALL
All bulk responses are included in the response.
|
FAILED
Only failed bulk responses are included in the response.
|
NONE
Bulk responses aren't included in the response.
|
| Modifier and Type | Method and Description |
|---|---|
static BulkResponseOption |
fromId(byte id)
Constructs the bulk response option from its internal representation.
|
static BulkResponseOption |
fromString(String type)
Parse the bulk response option from string.
|
byte |
id()
The internal representation of the operation type.
|
static BulkResponseOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BulkResponseOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BulkResponseOption NONE
public static final BulkResponseOption FAILED
public static final BulkResponseOption ALL
public static BulkResponseOption[] values()
for (BulkResponseOption c : BulkResponseOption.values()) System.out.println(c);
public static BulkResponseOption 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 byte id()
public static BulkResponseOption fromId(byte id)
public static BulkResponseOption fromString(String type)
Copyright © 2013-2015. All Rights Reserved.