| Constructor and Description |
|---|
DruidConnection(String connectionId,
int maxStatements,
Map<String,Object> userSecret,
QueryContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
closeIfEmpty()
Closes this connection if it has no statements.
|
void |
closeStatement(int statementId) |
DruidJdbcPreparedStatement |
createPreparedStatement(SqlStatementFactory sqlStatementFactory,
SqlQueryPlus sqlQueryPlus,
long maxRowCount) |
DruidJdbcStatement |
createStatement(SqlStatementFactory sqlStatementFactory) |
String |
getConnectionId() |
AbstractDruidJdbcStatement |
getStatement(int statementId) |
DruidConnection |
sync(Future<?> newTimeoutFuture) |
Map<String,Object> |
userSecret() |
public DruidConnection(String connectionId, int maxStatements, Map<String,Object> userSecret, QueryContext context)
public String getConnectionId()
public DruidJdbcStatement createStatement(SqlStatementFactory sqlStatementFactory)
public DruidJdbcPreparedStatement createPreparedStatement(SqlStatementFactory sqlStatementFactory, SqlQueryPlus sqlQueryPlus, long maxRowCount)
public AbstractDruidJdbcStatement getStatement(int statementId)
public void closeStatement(int statementId)
public boolean closeIfEmpty()
public void close()
public DruidConnection sync(Future<?> newTimeoutFuture)
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.