public final class MySQLBinaryStatementRegistry extends Object
| 构造器和说明 |
|---|
MySQLBinaryStatementRegistry() |
| 限定符和类型 | 方法和说明 |
|---|---|
MySQLBinaryStatement |
getBinaryStatement(int statementId)
Get binary prepared statement.
|
static MySQLBinaryStatementRegistry |
getInstance()
Get prepared statement registry instance.
|
int |
register(String sql,
int parametersCount)
Register SQL.
|
void |
remove(int statementId)
Remove expired cache statement.
|
public static MySQLBinaryStatementRegistry getInstance()
public int register(String sql, int parametersCount)
sql - SQLparametersCount - parameters countpublic MySQLBinaryStatement getBinaryStatement(int statementId)
statementId - statement IDpublic void remove(int statementId)
statementId - statement IDCopyright © 2020 The Apache Software Foundation. All rights reserved.