public abstract class AbstractPreparedStatement extends ClickHouseStatement implements PreparedStatement
| 限定符和类型 | 字段和说明 |
|---|---|
protected Object[] |
parameters |
block, connection| 构造器和说明 |
|---|
AbstractPreparedStatement(ClickHouseConnection connection,
String[] queryParts) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
assembleQueryPartsAndParameters() |
void |
clearParameters() |
void |
setArray(int index,
Array x) |
void |
setBigDecimal(int index,
BigDecimal x) |
void |
setByte(int index,
byte x) |
void |
setDate(int index,
Date x) |
void |
setDouble(int index,
double x) |
void |
setFloat(int index,
float x) |
void |
setInt(int index,
int x) |
void |
setLong(int index,
long x) |
void |
setNull(int index,
int type) |
void |
setShort(int index,
short x) |
void |
setString(int index,
String x) |
void |
setTimestamp(int index,
Timestamp x) |
void |
setURL(int index,
URL x) |
close, execute, executeQuery, executeUpdate, getConnection, getMetaData, getResultSet, getSampleBlock, setFetchSizeaddBatch, addBatch, cancel, clearBatch, clearWarnings, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getParameterMetaData, getQueryTimeout, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isWrapperFor, setAsciiStream, setAsciiStream, setAsciiStream, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setCursorName, setDate, setEscapeProcessing, setFetchDirection, setMaxFieldSize, setMaxRows, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setObject, setObject, setObject, setPoolable, setQueryTimeout, setRef, setRowId, setSQLXML, setTime, setTime, setTimestamp, setUnicodeStream, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddBatch, execute, executeLargeUpdate, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setAsciiStream, setAsciiStream, setAsciiStream, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setObject, setObject, setObject, setObject, setObject, setRef, setRowId, setSQLXML, setTime, setTime, setTimestamp, setUnicodeStreamaddBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, 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, unwrapprotected Object[] parameters
public AbstractPreparedStatement(ClickHouseConnection connection, String[] queryParts)
public void setURL(int index,
URL x)
throws SQLException
setURL 在接口中 PreparedStatementsetURL 在类中 SQLStatementSQLExceptionpublic void setInt(int index,
int x)
throws SQLException
setInt 在接口中 PreparedStatementsetInt 在类中 SQLStatementSQLExceptionpublic void setByte(int index,
byte x)
throws SQLException
setByte 在接口中 PreparedStatementsetByte 在类中 SQLStatementSQLExceptionpublic void setLong(int index,
long x)
throws SQLException
setLong 在接口中 PreparedStatementsetLong 在类中 SQLStatementSQLExceptionpublic void setDate(int index,
Date x)
throws SQLException
setDate 在接口中 PreparedStatementsetDate 在类中 SQLStatementSQLExceptionpublic void setShort(int index,
short x)
throws SQLException
setShort 在接口中 PreparedStatementsetShort 在类中 SQLStatementSQLExceptionpublic void setFloat(int index,
float x)
throws SQLException
setFloat 在接口中 PreparedStatementsetFloat 在类中 SQLStatementSQLExceptionpublic void setArray(int index,
Array x)
throws SQLException
setArray 在接口中 PreparedStatementsetArray 在类中 SQLStatementSQLExceptionpublic void setNull(int index,
int type)
throws SQLException
setNull 在接口中 PreparedStatementsetNull 在类中 SQLStatementSQLExceptionpublic void setDouble(int index,
double x)
throws SQLException
setDouble 在接口中 PreparedStatementsetDouble 在类中 SQLStatementSQLExceptionpublic void setString(int index,
String x)
throws SQLException
setString 在接口中 PreparedStatementsetString 在类中 SQLStatementSQLExceptionpublic void setTimestamp(int index,
Timestamp x)
throws SQLException
setTimestamp 在接口中 PreparedStatementsetTimestamp 在类中 SQLStatementSQLExceptionpublic void setBigDecimal(int index,
BigDecimal x)
throws SQLException
setBigDecimal 在接口中 PreparedStatementsetBigDecimal 在类中 SQLStatementSQLExceptionpublic void clearParameters()
throws SQLException
clearParameters 在接口中 PreparedStatementclearParameters 在类中 SQLStatementSQLExceptionprotected String assembleQueryPartsAndParameters() throws SQLException
SQLExceptionCopyright © 2020. All rights reserved.