public class SavedPreparedStatement extends Object
| Constructor and Description |
|---|
SavedPreparedStatement(String sql,
TSDBPreparedStatement tsdbPreparedStatement) |
| Modifier and Type | Method and Description |
|---|---|
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 © 2019. All rights reserved.