Package ru.yandex.clickhouse
Interface ClickHousePreparedStatement
-
- All Superinterfaces:
AutoCloseable,ClickHouseStatement,PreparedStatement,Statement,Wrapper
- All Known Implementing Classes:
ClickHousePreparedStatementImpl
public interface ClickHousePreparedStatement extends PreparedStatement, ClickHouseStatement
-
-
Field Summary
-
Fields 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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringasSql()int[]executeBatch(Map<ClickHouseQueryParam,String> additionalDBParams)ResultSetexecuteQuery(Map<ClickHouseQueryParam,String> additionalDBParams)ResultSetexecuteQuery(Map<ClickHouseQueryParam,String> additionalDBParams, List<ClickHouseExternalData> externalData)ClickHouseResponseexecuteQueryClickhouseResponse()ClickHouseResponseexecuteQueryClickhouseResponse(Map<ClickHouseQueryParam,String> additionalDBParams)voidsetArray(int parameterIndex, Object[] array)voidsetArray(int parameterIndex, Collection collection)-
Methods inherited from interface ru.yandex.clickhouse.ClickHouseStatement
executeQuery, executeQuery, executeQuery, executeQueryClickhouseResponse, executeQueryClickhouseResponse, executeQueryClickhouseResponse, executeQueryClickhouseRowBinaryStream, executeQueryClickhouseRowBinaryStream, executeQueryClickhouseRowBinaryStream, getResponseSummary, sendCSVStream, sendCSVStream, sendNativeStream, sendNativeStream, sendRowBinaryStream, sendRowBinaryStream, sendStream, sendStream, sendStreamSQL, sendStreamSQL, write
-
Methods inherited from interface java.sql.PreparedStatement
addBatch, clearParameters, execute, executeLargeUpdate, executeQuery, executeUpdate, 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, setURL
-
Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, 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, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
-
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
-
-
-
Method Detail
-
executeQueryClickhouseResponse
ClickHouseResponse executeQueryClickhouseResponse() throws SQLException
- Throws:
SQLException
-
executeQueryClickhouseResponse
ClickHouseResponse executeQueryClickhouseResponse(Map<ClickHouseQueryParam,String> additionalDBParams) throws SQLException
- Throws:
SQLException
-
setArray
void setArray(int parameterIndex, Collection collection) throws SQLException- Throws:
SQLException
-
setArray
void setArray(int parameterIndex, Object[] array) throws SQLException- Throws:
SQLException
-
executeQuery
ResultSet executeQuery(Map<ClickHouseQueryParam,String> additionalDBParams) throws SQLException
- Throws:
SQLException
-
executeQuery
ResultSet executeQuery(Map<ClickHouseQueryParam,String> additionalDBParams, List<ClickHouseExternalData> externalData) throws SQLException
- Throws:
SQLException
-
executeBatch
int[] executeBatch(Map<ClickHouseQueryParam,String> additionalDBParams) throws SQLException
- Throws:
SQLException
-
asSql
String asSql()
-
-