public static enum ClientConfig.Field extends Enum<ClientConfig.Field> implements ConfigField
| Enum Constant and Description |
|---|
BASE_URL
The base url in the format
host [ : port][ /path] of the PGX server REST end-point. |
PREFETCH_SIZE
How many items should be prefetched in remote iterators.
|
REMOTE_FUTURE_TIMEOUT
How long one
GET request for a PgxRemoteFuture will be alive, until it times out and tries again. |
UPLOAD_BATCH_SIZE
How many items will be uploaded in a batch.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getDefaultVal()
Gets the default value of this field.
|
List<String> |
getKeyAliases()
Gets the key aliases of this field which are also recognized during parsing.
|
Class<?> |
getType()
Gets the type of this field.
|
boolean |
isArray()
Checks if this field is an array.
|
boolean |
isEnum()
Checks if this field is of enum type.
|
boolean |
isPath()
Checks if this field is a path.
|
boolean |
isPrimitive()
Checks if this field is of primitive type.
|
boolean |
isRequired()
Checks if this field is required.
|
String |
toKey()
Get the key of this field, which is how this field is represented in serialized form.
|
String |
toString() |
static ClientConfig.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientConfig.Field[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final ClientConfig.Field BASE_URL
host [ : port][ /path] of the PGX server REST end-point. If the base_url is null, the default will be used which points to embedded PGX instance. You can use the form [ user [ : password ] @ ] host [ : port][ /path] to specify a basic auth username and password.public static final ClientConfig.Field PREFETCH_SIZE
public static final ClientConfig.Field REMOTE_FUTURE_TIMEOUT
GET request for a PgxRemoteFuture will be alive, until it times out and tries again. Time in milliseconds, set it to zero for an infinite timeout. See HTTP Client SO_TIMEOUT for more details.public static final ClientConfig.Field UPLOAD_BATCH_SIZE
Core#addAllToCollection() and Core#setProperty()public Object getDefaultVal()
ConfigFieldgetDefaultVal in interface ConfigFieldpublic List<String> getKeyAliases()
ConfigFieldgetKeyAliases in interface ConfigFieldpublic Class<?> getType()
ConfigFieldgetType in interface ConfigFieldpublic boolean isArray()
ConfigFieldisArray in interface ConfigFieldpublic boolean isEnum()
ConfigFieldisEnum in interface ConfigFieldpublic boolean isPath()
ConfigFieldisPath in interface ConfigFieldpublic boolean isPrimitive()
ConfigFieldisPrimitive in interface ConfigFieldpublic boolean isRequired()
ConfigFieldisRequired in interface ConfigFieldpublic String toKey()
ConfigFieldtoKey in interface ConfigFieldpublic String toString()
toString in class Enum<ClientConfig.Field>public static ClientConfig.Field 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 ClientConfig.Field[] values()
for (ClientConfig.Field c : ClientConfig.Field.values())
System.out.println(c);
Copyright © 2015. All rights reserved.