Package com.clickhouse.jdbc.internal
Class AbstractPreparedStatement
java.lang.Object
com.clickhouse.jdbc.JdbcWrapper
com.clickhouse.jdbc.internal.ClickHouseStatementImpl
com.clickhouse.jdbc.internal.AbstractPreparedStatement
- All Implemented Interfaces:
ClickHouseConfigChangeListener<ClickHouseRequest<?>>,ClickHouseStatement,AutoCloseable,PreparedStatement,Statement,Wrapper
- Direct Known Subclasses:
InputBasedPreparedStatement,SqlBasedPreparedStatement,StreamBasedPreparedStatement,TableBasedPreparedStatement
@Deprecated
public abstract class AbstractPreparedStatement
extends ClickHouseStatementImpl
implements PreparedStatement
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
ConstructorsModifierConstructorDescriptionprotectedAbstractPreparedStatement(ClickHouseConnectionImpl connection, ClickHouseRequest<?> request, int resultSetType, int resultSetConcurrency, int resultSetHoldability) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidDeprecated.final booleanDeprecated.final booleanDeprecated.final booleanDeprecated.final booleanDeprecated.protected abstract long[]executeAny(boolean asBatch) Deprecated.long[]Deprecated.final longexecuteLargeUpdate(String sql) Deprecated.final longexecuteLargeUpdate(String sql, int autoGeneratedKeys) Deprecated.final longexecuteLargeUpdate(String sql, int[] columnIndexes) Deprecated.final longexecuteLargeUpdate(String sql, String[] columnNames) Deprecated.final ResultSetexecuteQuery(String sql) Deprecated.final intDeprecated.final intexecuteUpdate(String sql) Deprecated.final intexecuteUpdate(String sql, int autoGeneratedKeys) Deprecated.final intexecuteUpdate(String sql, int[] columnIndexes) Deprecated.final intexecuteUpdate(String sql, String[] columnNames) Deprecated.protected abstract intDeprecated.protected inttoArrayIndex(int parameterIndex) Deprecated.Methods inherited from class com.clickhouse.jdbc.internal.ClickHouseStatementImpl
cancel, clearBatch, 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.ClickHouseStatement
writeMethods inherited from interface java.sql.PreparedStatement
addBatch, clearParameters, execute, executeLargeUpdate, executeQuery, getMetaData, getParameterMetaData, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setObject, setObject, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURLMethods inherited from interface java.sql.Statement
cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, executeBatch, 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
-
AbstractPreparedStatement
protected AbstractPreparedStatement(ClickHouseConnectionImpl connection, ClickHouseRequest<?> request, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException Deprecated.- Throws:
SQLException
-
-
Method Details
-
executeAny
Deprecated.- Throws:
SQLException
-
getMaxParameterIndex
protected abstract int getMaxParameterIndex()Deprecated. -
toArrayIndex
Deprecated.- Throws:
SQLException
-
addBatch
Deprecated.- Specified by:
addBatchin interfaceStatement- Overrides:
addBatchin classClickHouseStatementImpl- Throws:
SQLException
-
execute
Deprecated.- Specified by:
executein interfaceStatement- Overrides:
executein classClickHouseStatementImpl- Throws:
SQLException
-
execute
Deprecated.- Specified by:
executein interfaceStatement- Overrides:
executein classClickHouseStatementImpl- Throws:
SQLException
-
execute
Deprecated.- Specified by:
executein interfaceStatement- Overrides:
executein classClickHouseStatementImpl- Throws:
SQLException
-
execute
Deprecated.- Specified by:
executein interfaceStatement- Overrides:
executein classClickHouseStatementImpl- Throws:
SQLException
-
executeLargeBatch
Deprecated.- Specified by:
executeLargeBatchin interfaceStatement- Overrides:
executeLargeBatchin classClickHouseStatementImpl- Throws:
SQLException
-
executeLargeUpdate
Deprecated.- Specified by:
executeLargeUpdatein interfaceStatement- Overrides:
executeLargeUpdatein classClickHouseStatementImpl- Throws:
SQLException
-
executeLargeUpdate
Deprecated.- Specified by:
executeLargeUpdatein interfaceStatement- Throws:
SQLException
-
executeLargeUpdate
Deprecated.- Specified by:
executeLargeUpdatein interfaceStatement- Throws:
SQLException
-
executeLargeUpdate
Deprecated.- Specified by:
executeLargeUpdatein interfaceStatement- Throws:
SQLException
-
executeQuery
Deprecated.- Specified by:
executeQueryin interfaceStatement- Overrides:
executeQueryin classClickHouseStatementImpl- Throws:
SQLException
-
executeUpdate
Deprecated.- Specified by:
executeUpdatein interfacePreparedStatement- Throws:
SQLException
-
executeUpdate
Deprecated.- Specified by:
executeUpdatein interfaceStatement- Overrides:
executeUpdatein classClickHouseStatementImpl- Throws:
SQLException
-
executeUpdate
Deprecated.- Specified by:
executeUpdatein interfaceStatement- Overrides:
executeUpdatein classClickHouseStatementImpl- Throws:
SQLException
-
executeUpdate
Deprecated.- Specified by:
executeUpdatein interfaceStatement- Overrides:
executeUpdatein classClickHouseStatementImpl- Throws:
SQLException
-
executeUpdate
Deprecated.- Specified by:
executeUpdatein interfaceStatement- Overrides:
executeUpdatein classClickHouseStatementImpl- Throws:
SQLException
-