public class SavedPreparedStatement extends Object
| 构造器和说明 |
|---|
SavedPreparedStatement(String sql,
TSDBPreparedStatement tsdbPreparedStatement) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addBatch() |
int[] |
executeBatch()
execute the sql with batch sql
|
int |
executeBatchInternal() |
void |
setParam(int parameterIndex,
Object x)
set current row params
|
public SavedPreparedStatement(String sql, TSDBPreparedStatement tsdbPreparedStatement) throws SQLException
SQLExceptionpublic void setParam(int parameterIndex,
Object x)
throws SQLException
parameterIndex - the first parameter is 1, the second is 2, ...x - the parameter valueSQLExceptionpublic void addBatch()
public int[] executeBatch()
throws SQLException
SQLExceptionpublic int executeBatchInternal()
throws SQLException
SQLExceptionCopyright © 2020. All rights reserved.