public class JDBCConnectOptions extends SQLOptions
| Constructor and Description |
|---|
JDBCConnectOptions() |
JDBCConnectOptions(JsonObject json) |
getAutoGeneratedKeysIndexes, getCatalog, getFetchDirection, getFetchSize, getMaxRows, getQueryTimeout, getResultSetConcurrency, getResultSetType, getSchema, getTransactionIsolation, isAutoGeneratedKeys, isReadOnlypublic 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 SQLOptionspublic JDBCConnectOptions setCatalog(String catalog)
setCatalog in class SQLOptionspublic JDBCConnectOptions setTransactionIsolation(TransactionIsolation transactionIsolation)
setTransactionIsolation in class SQLOptionspublic JDBCConnectOptions setResultSetType(ResultSetType resultSetType)
setResultSetType in class SQLOptionspublic JDBCConnectOptions setResultSetConcurrency(ResultSetConcurrency resultSetConcurrency)
setResultSetConcurrency in class SQLOptionspublic JDBCConnectOptions setAutoGeneratedKeys(boolean autoGeneratedKeys)
setAutoGeneratedKeys in class SQLOptionspublic JDBCConnectOptions setSchema(String schema)
setSchema in class SQLOptionspublic JDBCConnectOptions setQueryTimeout(int queryTimeout)
setQueryTimeout in class SQLOptionspublic JDBCConnectOptions setFetchDirection(FetchDirection fetchDirection)
setFetchDirection in class SQLOptionspublic JDBCConnectOptions setFetchSize(int fetchSize)
setFetchSize in class SQLOptionspublic JDBCConnectOptions setAutoGeneratedKeysIndexes(JsonArray autoGeneratedKeysIndexes)
setAutoGeneratedKeysIndexes in class SQLOptionspublic JDBCConnectOptions setMaxRows(int maxRows)
setMaxRows in class SQLOptionspublic JsonObject toJson()
Copyright © 2021 Eclipse. All rights reserved.