| Package | Description |
|---|---|
| com.mysql.cj | |
| com.mysql.cj.jdbc |
| Modifier and Type | Field and Description |
|---|---|
private QueryInfo |
QueryInfo.baseQueryInfo |
protected QueryInfo |
ClientPreparedQuery.queryInfo |
| Modifier and Type | Field and Description |
|---|---|
private LRUCache<java.lang.String,QueryInfo> |
PerConnectionLRUFactory.PerConnectionLRU.cache |
| Modifier and Type | Method and Description |
|---|---|
QueryInfo |
PerConnectionLRUFactory.PerConnectionLRU.get(java.lang.String key) |
QueryInfo |
PreparedQuery.getQueryInfo() |
QueryInfo |
ClientPreparedQuery.getQueryInfo() |
QueryInfo |
QueryInfo.getQueryInfoForBatch(int count)
Returns a
QueryInfo for a multi-values INSERT/REPLACE assembled for the specified batch count, without re-parsing. |
| Modifier and Type | Method and Description |
|---|---|
CacheAdapter<java.lang.String,QueryInfo> |
PerConnectionLRUFactory.getInstance(java.lang.Object syncMutex,
java.lang.String url,
int cacheMaxSize,
int maxKeySize) |
| Modifier and Type | Method and Description |
|---|---|
void |
PerConnectionLRUFactory.PerConnectionLRU.put(java.lang.String key,
QueryInfo value) |
void |
PreparedQuery.setQueryInfo(QueryInfo queryInfo) |
void |
ClientPreparedQuery.setQueryInfo(QueryInfo queryInfo) |
| Constructor and Description |
|---|
QueryInfo(QueryInfo baseQueryInfo,
int batchCount)
Constructs a
QueryInfo object with a multi-value clause for the specified batch count, that stems from the specified baseQueryInfo. |
| Modifier and Type | Field and Description |
|---|---|
private CacheAdapter<java.lang.String,QueryInfo> |
ConnectionImpl.queryInfoCache
A cache of SQL to parsed prepared statement parameters.
|
| Modifier and Type | Method and Description |
|---|---|
QueryInfo |
ClientPreparedStatement.getQueryInfo() |
QueryInfo |
JdbcPreparedStatement.getQueryInfo() |
| Modifier and Type | Method and Description |
|---|---|
protected static ClientPreparedStatement |
ClientPreparedStatement.getInstance(JdbcConnection conn,
java.lang.String sql,
java.lang.String db,
QueryInfo cachedQueryInfo)
Creates a prepared statement instance
|
| Constructor and Description |
|---|
ClientPreparedStatement(JdbcConnection conn,
java.lang.String sql,
java.lang.String db,
QueryInfo cachedQueryInfo)
Creates a new PreparedStatement object.
|