Package | Description |
---|---|
com.gpudb |
Modifier and Type | Method and Description |
---|---|
GPUdbBase.Options |
GPUdbBase.Options.addHttpHeader(String header,
String value)
Adds an HTTP header to the map of additional HTTP headers to send to
GPUdb with each request.
|
GPUdbBase.Options |
GPUdbBase.Options.setBypassSslCertCheck(boolean value)
Sets the flag indicating whether to verify the SSL certificate for
HTTPS connections.
|
GPUdbBase.Options |
GPUdbBase.Options.setConnectionInactivityValidationTimeout(int value)
Sets the period of inactivity (in milliseconds) after
which connection validity would be checked before reusing it.
|
GPUdbBase.Options |
GPUdbBase.Options.setExecutor(ExecutorService value)
Sets the
executor service used for managing
threads during data encoding and decoding operations. |
GPUdbBase.Options |
GPUdbBase.Options.setHostManagerPort(int value)
Sets the host manager port number.
|
GPUdbBase.Options |
GPUdbBase.Options.setHttpHeaders(Map<String,String> value)
Replaces the contents of the map of additional HTTP headers to send
to GPUdb with each request with the contents of the specified map.
|
GPUdbBase.Options |
GPUdbBase.Options.setMaxConnectionsPerHost(int value)
Sets the maximum number of connections, per host, allowed at
any given time.
|
GPUdbBase.Options |
GPUdbBase.Options.setMaxTotalConnections(int value)
Sets the maximum number of connections, across all hosts, allowed at
any given time.
|
GPUdbBase.Options |
GPUdbBase.Options.setPassword(String value)
Sets the password to be used for authentication to GPUdb.
|
GPUdbBase.Options |
GPUdbBase.Options.setPrimaryUrl(String value)
Sets the URL of the primary cluster to use amongst the HA clusters.
|
GPUdbBase.Options |
GPUdbBase.Options.setServerConnectionTimeout(int value)
Sets the server connection timeout value, in milliseconds, after
which an inability to establish a connection with the GPUdb server
will result in requests being aborted.
|
GPUdbBase.Options |
GPUdbBase.Options.setThreadCount(int value)
Sets the number of threads that will be used during data encoding and
decoding operations.
|
GPUdbBase.Options |
GPUdbBase.Options.setTimeout(int value)
Sets the timeout value, in milliseconds, after which a lack of
response from the GPUdb server will result in requests being aborted.
|
GPUdbBase.Options |
GPUdbBase.Options.setUsername(String value)
Sets the username to be used for authentication to GPUdb.
|
GPUdbBase.Options |
GPUdbBase.Options.setUseSnappy(boolean value)
Sets the flag indicating whether to use Snappy compression for
certain GPUdb requests that potentially submit large amounts of data.
|
Constructor and Description |
---|
GPUdb(List<URL> urls,
GPUdbBase.Options options)
Creates a
GPUdb instance for the GPUdb server with the
specified URLs using the specified options. |
GPUdb(String url,
GPUdbBase.Options options)
Creates a
GPUdb instance for the GPUdb server at the
specified URL using the specified options. |
GPUdb(URL url,
GPUdbBase.Options options)
Creates a
GPUdb instance for the GPUdb server at the
specified URL using the specified options. |
GPUdbBase(List<URL> urls,
GPUdbBase.Options options) |
GPUdbBase(String url,
GPUdbBase.Options options) |
GPUdbBase(URL url,
GPUdbBase.Options options) |
Copyright © 2020. All rights reserved.