public class NosqlDbConfig extends Object
Constructor and Description |
---|
NosqlDbConfig(oracle.nosql.driver.NoSQLHandleConfig nosqlHandleConfig) |
NosqlDbConfig(String endpoint,
oracle.nosql.driver.AuthorizationProvider authorizationProvider) |
Modifier and Type | Method and Description |
---|---|
static NosqlDbConfig |
createCloudConfig(String endpoint,
String configFile) |
static NosqlDbConfig |
createCloudSimConfig(String endpoint) |
static NosqlDbConfig |
createProxyConfig(String endpoint) |
static NosqlDbConfig |
createProxyConfig(String endpoint,
String user,
char[] password) |
oracle.nosql.driver.NoSQLHandleConfig |
getNosqlHandleConfig() |
int |
getQueryCacheCapacity()
Returns the capacity of the prepared query cache.
|
int |
getQueryCacheLifetime()
Returns the lifetime of the prepared query cache in milliseconds.
|
int |
getTableReqPollInterval()
Returns the table request poll interval in milliseconds.
|
int |
getTableReqTimeout()
Returns the table request timeout in milliseconds.
|
int |
getTimestampPrecision()
Returns the precision of the Timestamp NoSQL DB type when creating a
new table.
|
NosqlDbConfig |
setTableReqPollInterval(int pollInterval)
Sets the table request poll interval in milliseconds.
|
NosqlDbConfig |
setTableReqTimeout(int tableReqTimeout)
Sets the table request timeout in milliseconds.
|
NosqlDbConfig |
setTimestampPrecision(int precision)
Sets the precision of the Timestamp NoSQL DB type when creating a
new table.
|
public NosqlDbConfig(String endpoint, oracle.nosql.driver.AuthorizationProvider authorizationProvider)
public NosqlDbConfig(oracle.nosql.driver.NoSQLHandleConfig nosqlHandleConfig)
public static NosqlDbConfig createCloudConfig(String endpoint, String configFile) throws IOException
IOException
public static NosqlDbConfig createCloudSimConfig(String endpoint)
public static NosqlDbConfig createProxyConfig(String endpoint)
public static NosqlDbConfig createProxyConfig(String endpoint, String user, char[] password)
public oracle.nosql.driver.NoSQLHandleConfig getNosqlHandleConfig()
public int getQueryCacheCapacity()
Constants.DEFAULT_QUERY_CACHE_CAPACITY
.public int getQueryCacheLifetime()
Constants.DEFAULT_QUERY_CACHE_LIFETIME_MS
.public int getTableReqTimeout()
Constants.DEFAULT_TABLE_REQ_TIMEOUT_MS
public NosqlDbConfig setTableReqTimeout(int tableReqTimeout)
Constants.DEFAULT_TABLE_REQ_TIMEOUT_MS
public int getTableReqPollInterval()
Constants.DEFAULT_TABLE_REQ_POLL_INTEVEL_MS
public NosqlDbConfig setTableReqPollInterval(int pollInterval)
Constants.DEFAULT_TABLE_REQ_POLL_INTEVEL_MS
public int getTimestampPrecision()
Constants.DEFAULT_TIMESTAMP_PRECISION
.
public NosqlDbConfig setTimestampPrecision(int precision)
Constants.DEFAULT_TIMESTAMP_PRECISION
.
Copyright © 2021 Oracle Corporation. All rights reserved.