org.tinygroup.dbrouter.context
public class RealStatementExecutor extends Object
| Constructor and 描述 |
|---|
RealStatementExecutor(Statement realStatement,
String executeSql,
String originalSql,
Shard shard,
Partition partition,
Router router,
Object[] values) |
| Modifier and Type | Method and 描述 |
|---|---|
void |
addBatch() |
ResultSet |
executeQuery() |
int |
executeUpdate() |
String |
getExecuteSql() |
String |
getOriginalSql() |
Partition |
getPartition() |
Statement |
getRealStatement() |
Router |
getRouter() |
Shard |
getShard() |
Object[] |
getValues() |
public void addBatch()
throws SQLException
SQLExceptionpublic Statement getRealStatement()
public String getExecuteSql()
public String getOriginalSql()
public Shard getShard()
public Partition getPartition()
public Router getRouter()
public Object[] getValues()
public ResultSet executeQuery() throws SQLException
SQLExceptionpublic int executeUpdate()
throws SQLException
SQLExceptionCopyright © 2006–2015 TinyGroup. All rights reserved.