public class JDBCConnectOptions extends SQLOptions
Constructor and Description |
---|
JDBCConnectOptions() |
JDBCConnectOptions(JsonObject json) |
getAutoGeneratedKeysIndexes, getCatalog, getFetchDirection, getFetchSize, getMaxRows, getQueryTimeout, getResultSetConcurrency, getResultSetType, getSchema, getTransactionIsolation, isAutoGeneratedKeys, isReadOnly
public JDBCConnectOptions()
public JDBCConnectOptions(JsonObject json)
public String getDataSourceImplementation()
public JDBCConnectOptions setDataSourceImplementation(String dataSourceImplementation)
public boolean isMetricsEnabled()
public JDBCConnectOptions setMetricsEnabled(boolean metricsEnabled)
public String getJdbcUrl()
public JDBCConnectOptions setJdbcUrl(String jdbcUrl)
public String getUser()
public JDBCConnectOptions setUser(String user)
public String getPassword()
public JDBCConnectOptions setPassword(String password)
public String getDatabase()
public JDBCConnectOptions setDatabase(String database)
public int getConnectTimeout()
public JDBCConnectOptions setConnectTimeout(int connectTimeout)
public int getIdleTimeout()
public JDBCConnectOptions setIdleTimeout(int idleTimeout)
public TracingPolicy getTracingPolicy()
public JDBCConnectOptions setTracingPolicy(TracingPolicy tracingPolicy)
tracingPolicy
- the tracing policypublic JDBCConnectOptions setReadOnly(boolean readOnly)
setReadOnly
in class SQLOptions
public JDBCConnectOptions setCatalog(String catalog)
setCatalog
in class SQLOptions
public JDBCConnectOptions setTransactionIsolation(TransactionIsolation transactionIsolation)
setTransactionIsolation
in class SQLOptions
public JDBCConnectOptions setResultSetType(ResultSetType resultSetType)
setResultSetType
in class SQLOptions
public JDBCConnectOptions setResultSetConcurrency(ResultSetConcurrency resultSetConcurrency)
setResultSetConcurrency
in class SQLOptions
public JDBCConnectOptions setAutoGeneratedKeys(boolean autoGeneratedKeys)
setAutoGeneratedKeys
in class SQLOptions
public JDBCConnectOptions setSchema(String schema)
setSchema
in class SQLOptions
public JDBCConnectOptions setQueryTimeout(int queryTimeout)
setQueryTimeout
in class SQLOptions
public JDBCConnectOptions setFetchDirection(FetchDirection fetchDirection)
setFetchDirection
in class SQLOptions
public JDBCConnectOptions setFetchSize(int fetchSize)
setFetchSize
in class SQLOptions
public JDBCConnectOptions setAutoGeneratedKeysIndexes(JsonArray autoGeneratedKeysIndexes)
setAutoGeneratedKeysIndexes
in class SQLOptions
public JDBCConnectOptions setMaxRows(int maxRows)
setMaxRows
in class SQLOptions
public JsonObject toJson()
Copyright © 2024 Eclipse. All rights reserved.