Package com.clickhouse.jdbc.internal
Class InputBasedPreparedStatement
java.lang.Object
com.clickhouse.jdbc.JdbcWrapper
com.clickhouse.jdbc.internal.ClickHouseStatementImpl
com.clickhouse.jdbc.internal.AbstractPreparedStatement
com.clickhouse.jdbc.internal.InputBasedPreparedStatement
- All Implemented Interfaces:
ClickHouseConfigChangeListener<ClickHouseRequest<?>>,ClickHousePreparedStatement,ClickHouseStatement,AutoCloseable,PreparedStatement,Statement,Wrapper
@Deprecated
public class InputBasedPreparedStatement
extends AbstractPreparedStatement
implements ClickHousePreparedStatement
Deprecated.
-
Field Summary
Fields inherited from class com.clickhouse.jdbc.internal.ClickHouseStatementImpl
mapper, parsedStmtsFields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInputBasedPreparedStatement(ClickHouseConnectionImpl connection, ClickHouseRequest<?> request, List<ClickHouseColumn> columns, int resultSetType, int resultSetConcurrency, int resultSetHoldability) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBatch()Deprecated.voidDeprecated.voidDeprecated.protected voidDeprecated.booleanexecute()Deprecated.protected long[]executeAny(boolean asBatch) Deprecated.longDeprecated.Deprecated.protected intDeprecated.Deprecated.voidDeprecated.voidsetBigDecimal(int parameterIndex, BigDecimal x) Deprecated.voidsetByte(int parameterIndex, byte x) Deprecated.voidsetBytes(int parameterIndex, byte[] x) Deprecated.voidDeprecated.voidsetDouble(int parameterIndex, double x) Deprecated.voidsetFloat(int parameterIndex, float x) Deprecated.voidsetInt(int parameterIndex, int x) Deprecated.voidsetLong(int parameterIndex, long x) Deprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidsetShort(int parameterIndex, short x) Deprecated.voidDeprecated.voidDeprecated.voidsetTimestamp(int parameterIndex, Timestamp x, Calendar cal) Deprecated.Methods inherited from class com.clickhouse.jdbc.internal.AbstractPreparedStatement
addBatch, execute, execute, execute, execute, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, executeUpdate, toArrayIndexMethods inherited from class com.clickhouse.jdbc.internal.ClickHouseStatementImpl
cancel, clearWarnings, close, closeOnCompletion, ensureOpen, executeBatch, executeInsert, executeStatement, executeStatement, getConfig, getConnection, getDataProcessor, getDataProcessor, getFetchDirection, getFetchSize, getFile, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getLastStatement, getMaxFieldSize, getMaxRows, getMirroredOutput, getMoreResults, getMoreResults, getNullAsDefault, getQueryTimeout, getRequest, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isWrapperFor, newEmptyResultSet, optionChanged, parseSqlStatements, processSqlStatement, resetDataProcessor, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setLastStatement, setMaxFieldSize, setMaxRows, setMirroredOutput, setNullAsDefault, setPoolable, setQueryTimeout, settingChanged, unwrap, updateResultMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.clickhouse.config.ClickHouseConfigChangeListener
propertyChangedMethods inherited from interface com.clickhouse.jdbc.ClickHousePreparedStatement
describeQueryResult, getMetaData, setAsciiStream, setAsciiStream, setAsciiStream, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setObject, setRef, setRowId, setSQLXML, setTime, setTimestamp, setUnicodeStream, setURLMethods inherited from interface com.clickhouse.jdbc.ClickHouseStatement
writeMethods inherited from interface java.sql.PreparedStatement
executeUpdate, setObject, setObjectMethods inherited from interface java.sql.Statement
addBatch, cancel, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutMethods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
Constructor Details
-
InputBasedPreparedStatement
protected InputBasedPreparedStatement(ClickHouseConnectionImpl connection, ClickHouseRequest<?> request, List<ClickHouseColumn> columns, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException Deprecated.- Throws:
SQLException
-
-
Method Details
-
ensureParams
Deprecated.- Throws:
SQLException
-
executeAny
Deprecated.- Specified by:
executeAnyin classAbstractPreparedStatement- Throws:
SQLException
-
getMaxParameterIndex
protected int getMaxParameterIndex()Deprecated.- Specified by:
getMaxParameterIndexin classAbstractPreparedStatement
-
executeQuery
Deprecated.- Specified by:
executeQueryin interfacePreparedStatement- Throws:
SQLException
-
executeLargeUpdate
Deprecated.- Specified by:
executeLargeUpdatein interfacePreparedStatement- Throws:
SQLException
-
setByte
Deprecated.- Specified by:
setBytein interfacePreparedStatement- Throws:
SQLException
-
setShort
Deprecated.- Specified by:
setShortin interfacePreparedStatement- Throws:
SQLException
-
setInt
Deprecated.- Specified by:
setIntin interfacePreparedStatement- Throws:
SQLException
-
setLong
Deprecated.- Specified by:
setLongin interfacePreparedStatement- Throws:
SQLException
-
setFloat
Deprecated.- Specified by:
setFloatin interfacePreparedStatement- Throws:
SQLException
-
setDouble
Deprecated.- Specified by:
setDoublein interfacePreparedStatement- Throws:
SQLException
-
setBigDecimal
Deprecated.- Specified by:
setBigDecimalin interfacePreparedStatement- Throws:
SQLException
-
setString
Deprecated.- Specified by:
setStringin interfacePreparedStatement- Throws:
SQLException
-
setBytes
Deprecated.- Specified by:
setBytesin interfacePreparedStatement- Throws:
SQLException
-
clearParameters
Deprecated.- Specified by:
clearParametersin interfacePreparedStatement- Throws:
SQLException
-
setObject
Deprecated.- Specified by:
setObjectin interfacePreparedStatement- Throws:
SQLException
-
execute
Deprecated.- Specified by:
executein interfacePreparedStatement- Throws:
SQLException
-
addBatch
Deprecated.- Specified by:
addBatchin interfacePreparedStatement- Throws:
SQLException
-
clearBatch
Deprecated.- Specified by:
clearBatchin interfaceStatement- Overrides:
clearBatchin classClickHouseStatementImpl- Throws:
SQLException
-
setArray
Deprecated.- Specified by:
setArrayin interfacePreparedStatement- Throws:
SQLException
-
setDate
Deprecated.- Specified by:
setDatein interfacePreparedStatement- Throws:
SQLException
-
setTime
Deprecated.- Specified by:
setTimein interfacePreparedStatement- Throws:
SQLException
-
setTimestamp
Deprecated.- Specified by:
setTimestampin interfacePreparedStatement- Throws:
SQLException
-
setNull
Deprecated.- Specified by:
setNullin interfacePreparedStatement- Throws:
SQLException
-
getParameterMetaData
Deprecated.- Specified by:
getParameterMetaDatain interfacePreparedStatement- Throws:
SQLException
-
setObject
public void setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength) throws SQLException Deprecated.- Specified by:
setObjectin interfacePreparedStatement- Throws:
SQLException
-