Class FireboltBackendPreparedStatement
java.lang.Object
com.firebolt.jdbc.JdbcBase
com.firebolt.jdbc.statement.FireboltStatement
com.firebolt.jdbc.statement.preparedstatement.FireboltPreparedStatement
com.firebolt.jdbc.statement.preparedstatement.FireboltBackendPreparedStatement
- All Implemented Interfaces:
GenericWrapper,AutoCloseable,PreparedStatement,Statement,Wrapper
-
Field Summary
Fields inherited from class com.firebolt.jdbc.statement.preparedstatement.FireboltPreparedStatement
providedParameters, rawStatementFields inherited from class com.firebolt.jdbc.statement.FireboltStatement
sessionPropertiesFields 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
ConstructorsConstructorDescriptionFireboltBackendPreparedStatement(FireboltStatementService statementService, FireboltConnection connection, String sql) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<StatementInfoWrapper>prepareSQL(@NonNull Map<Integer, Object> params) voidvoidsetBigDecimal(int parameterIndex, BigDecimal x) voidsetBoolean(int parameterIndex, boolean x) voidsetByte(int parameterIndex, byte x) voidprotected <T extends Date>
voidsetDateTime(int parameterIndex, T datetime, Calendar calendar, JavaTypeToFireboltSQLString type) voidsetDouble(int parameterIndex, double x) voidsetFloat(int parameterIndex, float x) voidsetInt(int parameterIndex, int x) voidsetLong(int parameterIndex, long x) voidsetNull(int parameterIndex, int sqlType) voidvoidvoidvoidvoidsetShort(int parameterIndex, short x) voidvoidsetTimestamp(int parameterIndex, Timestamp x) Methods inherited from class com.firebolt.jdbc.statement.preparedstatement.FireboltPreparedStatement
addBatch, asSingleStatement, clearParameters, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, formatDecimalNumber, getMetaData, getParameterMetaData, setAsciiStream, setAsciiStream, setAsciiStream, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setRef, setRowId, setSQLXML, setTime, setTime, setTimestamp, setUnicodeStream, setURL, validateParamIndexMethods inherited from class com.firebolt.jdbc.statement.FireboltStatement
addBatch, cancel, clearBatch, close, close, closeOnCompletion, execute, execute, execute, execute, executeAsync, executeQuery, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getOneQueryStatementInfo, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, hasMoreResults, isClosed, isCloseOnCompletion, isPoolable, isStatementRunning, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, validateStatementIsNotClosedMethods inherited from class com.firebolt.jdbc.JdbcBase
addWarning, clearWarnings, getWarningsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.firebolt.jdbc.GenericWrapper
isWrapperFor, unwrapMethods inherited from interface java.sql.PreparedStatement
executeLargeUpdate, setObject, setObjectMethods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, getConnection, 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, setQueryTimeout
-
Constructor Details
-
FireboltBackendPreparedStatement
public FireboltBackendPreparedStatement(FireboltStatementService statementService, FireboltConnection connection, String sql)
-
-
Method Details
-
setNull
- Specified by:
setNullin interfacePreparedStatement- Overrides:
setNullin classFireboltPreparedStatement- Throws:
SQLException
-
setBoolean
- Specified by:
setBooleanin interfacePreparedStatement- Overrides:
setBooleanin classFireboltPreparedStatement- Throws:
SQLException
-
setByte
- Specified by:
setBytein interfacePreparedStatement- Overrides:
setBytein classFireboltPreparedStatement- Throws:
SQLException
-
setShort
- Specified by:
setShortin interfacePreparedStatement- Overrides:
setShortin classFireboltPreparedStatement- Throws:
SQLException
-
setInt
- Specified by:
setIntin interfacePreparedStatement- Overrides:
setIntin classFireboltPreparedStatement- Throws:
SQLException
-
setLong
- Specified by:
setLongin interfacePreparedStatement- Overrides:
setLongin classFireboltPreparedStatement- Throws:
SQLException
-
setFloat
- Specified by:
setFloatin interfacePreparedStatement- Overrides:
setFloatin classFireboltPreparedStatement- Throws:
SQLException
-
setDouble
- Specified by:
setDoublein interfacePreparedStatement- Overrides:
setDoublein classFireboltPreparedStatement- Throws:
SQLException
-
setBigDecimal
- Specified by:
setBigDecimalin interfacePreparedStatement- Overrides:
setBigDecimalin classFireboltPreparedStatement- Throws:
SQLException
-
setString
- Specified by:
setStringin interfacePreparedStatement- Overrides:
setStringin classFireboltPreparedStatement- Throws:
SQLException
-
setDate
- Specified by:
setDatein interfacePreparedStatement- Overrides:
setDatein classFireboltPreparedStatement- Throws:
SQLException
-
setTimestamp
- Specified by:
setTimestampin interfacePreparedStatement- Overrides:
setTimestampin classFireboltPreparedStatement- Throws:
SQLException
-
setObject
- Specified by:
setObjectin interfacePreparedStatement- Overrides:
setObjectin classFireboltPreparedStatement- Throws:
SQLException
-
setObject
- Specified by:
setObjectin interfacePreparedStatement- Overrides:
setObjectin classFireboltPreparedStatement- Throws:
SQLException
-
setNull
- Specified by:
setNullin interfacePreparedStatement- Overrides:
setNullin classFireboltPreparedStatement- Throws:
SQLException
-
setArray
- Specified by:
setArrayin interfacePreparedStatement- Overrides:
setArrayin classFireboltPreparedStatement- Throws:
SQLException
-
setObject
public void setObject(int parameterIndex, Object x, int targetSqlType, int scaleOrLength) throws SQLException - Specified by:
setObjectin interfacePreparedStatement- Overrides:
setObjectin classFireboltPreparedStatement- Throws:
SQLException
-
prepareSQL
- Overrides:
prepareSQLin classFireboltPreparedStatement
-
setDateTime
protected <T extends Date> void setDateTime(int parameterIndex, T datetime, Calendar calendar, JavaTypeToFireboltSQLString type) throws SQLException - Overrides:
setDateTimein classFireboltPreparedStatement- Throws:
SQLException
-