public class ClickHousePreparedInsertStatement extends AbstractPreparedStatement
parameters, tzblock, connection, nativeContextCLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Constructor and Description |
|---|
ClickHousePreparedInsertStatement(int posOfData,
String fullQuery,
ClickHouseConnection conn,
NativeContext nativeContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch() |
void |
clearBatch() |
void |
close() |
boolean |
execute() |
int[] |
executeBatch() |
ResultSet |
executeQuery() |
int |
executeUpdate() |
void |
setObject(int paramPosition,
Object x) |
String |
toString() |
assembleQueryPartsAndParameters, clearParameters, getMetaData, setArray, setBigDecimal, setBoolean, setByte, setBytes, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setObject, setObject, setShort, setString, setTimestamp, setTimestamp, setURLcancel, clearWarnings, execute, executeQuery, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxRows, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getSampleBlock, getUpdateCount, getWarnings, isClosed, isPoolable, logger, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxRows, setPoolable, setQueryTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitexecuteLargeUpdate, getParameterMetaData, setAsciiStream, setAsciiStream, setAsciiStream, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setObject, setObject, setRef, setRowId, setSQLXML, setTime, setTime, setUnicodeStreamaddBatch, cancel, clearWarnings, closeOnCompletion, execute, execute, execute, execute, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutisWrapperFor, unwrappublic ClickHousePreparedInsertStatement(int posOfData,
String fullQuery,
ClickHouseConnection conn,
NativeContext nativeContext)
throws SQLException
SQLExceptionpublic void setObject(int paramPosition,
Object x)
throws SQLException
SQLExceptionpublic boolean execute()
throws SQLException
SQLExceptionpublic int executeUpdate()
throws SQLException
SQLExceptionpublic ResultSet executeQuery() throws SQLException
SQLExceptionpublic void addBatch()
throws SQLException
SQLExceptionpublic void clearBatch()
throws SQLException
SQLExceptionpublic int[] executeBatch()
throws SQLException
SQLExceptionpublic void close()
throws SQLException
close in interface SQLStatementclose in interface AutoCloseableclose in interface Statementclose in class ClickHouseStatementSQLExceptionCopyright © 2021. All rights reserved.