| 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.setClusterReconnectCount(int value)
Deprecated. 
 
Sets the number of times the API tries to reconnect to the
 same cluster (when a failover event has been triggered),
 before actually failing over to any available backup
 cluster. 
 | 
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.setDisableAutoDiscovery(boolean value)
Sets the value of the flag indicating whether to disable automatic
 discovery of backup clusters or worker rank URLs. 
 | 
GPUdbBase.Options | 
GPUdbBase.Options.setDisableFailover(boolean value)
Sets the value of the flag indicating whether to disable failover
 upon failures. 
 | 
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.setHAFailoverOrder(GPUdbBase.HAFailoverOrder value)
Sets the value of the enum controlling the inter-cluster (high
 availability) failover priority. 
 | 
GPUdbBase.Options | 
GPUdbBase.Options.setHostManagerPort(int value)
Sets the host manager port number. 
 | 
GPUdbBase.Options | 
GPUdbBase.Options.setHostnameRegex(Pattern value)
Sets the IP address or hostname regex against which the server's
 rank URLs would be matched when obtaining them. 
 | 
GPUdbBase.Options | 
GPUdbBase.Options.setHostnameRegex(String value)
Sets the IP address or hostname regex against which the server's
 rank URLs would be matched when obtaining them. 
 | 
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.setInitialConnectionAttemptTimeout(long value)
Sets the timeout used when trying to establish a connection to the
 database at GPUdb initialization. 
 | 
GPUdbBase.Options | 
GPUdbBase.Options.setIntraClusterFailoverTimeout(long value)
Deprecated. 
 
Sets the timeout used when trying to recover from an intra-cluster
 failover event.  The value is given in milliseconds. 
 | 
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.setTrustStoreFilePath(String trustStoreFilePath)
Sets the SSL trustStore file path. 
 | 
GPUdbBase.Options | 
GPUdbBase.Options.setTrustStorePassword(String trustStorePassword)
Sets the SSL trustStore file password. 
 | 
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)  | 
Options(GPUdbBase.Options other)
Copy constructor. 
 | 
Copyright © 2024. All rights reserved.