public class ClickHouseStatement extends SQLStatement
| 限定符和类型 | 字段和说明 |
|---|---|
protected Block |
block |
protected ClickHouseConnection |
connection |
| 构造器和说明 |
|---|
ClickHouseStatement(ClickHouseConnection connection) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
boolean |
execute(String query) |
ResultSet |
executeQuery(String query) |
int |
executeUpdate(String query) |
Connection |
getConnection() |
ResultSetMetaData |
getMetaData() |
ResultSet |
getResultSet() |
Block |
getSampleBlock(String insertQuery) |
void |
setFetchSize(int rows) |
addBatch, addBatch, cancel, clearBatch, clearParameters, 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, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setCursorName, setDate, setDate, setDouble, setEscapeProcessing, setFetchDirection, setFloat, setInt, setLong, setMaxFieldSize, setMaxRows, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setPoolable, setQueryTimeout, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteLargeUpdate, setObject, setObjectprotected Block block
protected final ClickHouseConnection connection
public ClickHouseStatement(ClickHouseConnection connection)
public boolean execute(String query) throws SQLException
execute 在接口中 Statementexecute 在类中 SQLStatementSQLExceptionpublic ResultSet executeQuery(String query) throws SQLException
executeQuery 在接口中 StatementexecuteQuery 在类中 SQLStatementSQLExceptionpublic int executeUpdate(String query) throws SQLException
executeUpdate 在接口中 StatementexecuteUpdate 在类中 SQLStatementSQLExceptionpublic void setFetchSize(int rows)
throws SQLException
setFetchSize 在接口中 StatementsetFetchSize 在类中 SQLStatementSQLExceptionpublic void close()
throws SQLException
close 在接口中 AutoCloseableclose 在接口中 Statementclose 在类中 SQLStatementSQLExceptionpublic ResultSet getResultSet() throws SQLException
getResultSet 在接口中 StatementgetResultSet 在类中 SQLStatementSQLExceptionpublic Connection getConnection() throws SQLException
getConnection 在接口中 StatementgetConnection 在类中 SQLStatementSQLExceptionpublic ResultSetMetaData getMetaData() throws SQLException
getMetaData 在接口中 PreparedStatementgetMetaData 在类中 SQLStatementSQLExceptionpublic Block getSampleBlock(String insertQuery) throws SQLException
SQLExceptionCopyright © 2020. All rights reserved.