public enum BulkDriverOption extends Enum<BulkDriverOption> implements DriverOption
| Enum Constant and Description |
|---|
DEFAULT_PORT
The default port to use when
DefaultDriverOption.CONTACT_POINTS contains hosts without
ports. |
LOAD_BALANCING_POLICY_FILTER_ALLOW
The list of allowed nodes, for use when
SimpleNodeFilter is used. |
LOAD_BALANCING_POLICY_FILTER_DENY
The list of denied nodes, for use when
SimpleNodeFilter is used. |
RETRY_POLICY_MAX_RETRIES
The maximum number of attempts to retry, when using
MultipleRetryPolicy. |
| Modifier and Type | Method and Description |
|---|---|
String |
getPath() |
static BulkDriverOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BulkDriverOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BulkDriverOption DEFAULT_PORT
DefaultDriverOption.CONTACT_POINTS contains hosts without
ports.
Expected type: int.
public static final BulkDriverOption RETRY_POLICY_MAX_RETRIES
MultipleRetryPolicy.
Expected type: int.
public static final BulkDriverOption LOAD_BALANCING_POLICY_FILTER_ALLOW
SimpleNodeFilter is used.
Expected type: String List.
public static final BulkDriverOption LOAD_BALANCING_POLICY_FILTER_DENY
SimpleNodeFilter is used.
Expected type: String List.
public static BulkDriverOption[] values()
for (BulkDriverOption c : BulkDriverOption.values()) System.out.println(c);
public static BulkDriverOption 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 null@NonNull public String getPath()
getPath in interface DriverOptionCopyright © 2017–2021 DataStax. All rights reserved.