public class JDBCStatement extends Object implements Statement
| 限定符和类型 | 字段和说明 |
|---|---|
protected StringBuilder |
batch |
protected JDBCConnection |
connection |
protected static String |
IN_MEMORY_TABLE |
protected boolean |
isClosed |
protected Queue<Object> |
objectQueue |
protected Object |
result |
protected ResultSet |
resultSet |
protected Deque<ResultSet> |
resultSets |
protected HashMap<String,String> |
tableTypes |
| 构造器和说明 |
|---|
JDBCStatement(JDBCConnection cnn) |
protected JDBCConnection connection
protected ResultSet resultSet
protected StringBuilder batch
protected Object result
protected boolean isClosed
public JDBCStatement(JDBCConnection cnn)
public long executeLargeUpdate(String sql, String[] columnNames) throws SQLException
executeLargeUpdate 在接口中 StatementSQLExceptionpublic long executeLargeUpdate(String sql, int[] columnIndexes) throws SQLException
executeLargeUpdate 在接口中 StatementSQLExceptionpublic long executeLargeUpdate(String sql, int autoGeneratedKeys) throws SQLException
executeLargeUpdate 在接口中 StatementSQLExceptionpublic long executeLargeUpdate(String sql) throws SQLException
executeLargeUpdate 在接口中 StatementSQLExceptionpublic long[] executeLargeBatch()
throws SQLException
executeLargeBatch 在接口中 StatementSQLExceptionpublic long getLargeMaxRows()
throws SQLException
getLargeMaxRows 在接口中 StatementSQLExceptionpublic void setLargeMaxRows(long max)
throws SQLException
setLargeMaxRows 在接口中 StatementSQLExceptionpublic long getLargeUpdateCount()
throws SQLException
getLargeUpdateCount 在接口中 StatementSQLExceptionpublic ResultSet executeQuery(String sql) throws SQLException
executeQuery 在接口中 StatementSQLExceptionpublic int executeUpdate(String sql) throws SQLException
executeUpdate 在接口中 StatementSQLExceptionpublic void close()
throws SQLException
close 在接口中 AutoCloseableclose 在接口中 StatementSQLExceptionpublic int getMaxFieldSize()
throws SQLException
getMaxFieldSize 在接口中 StatementSQLExceptionpublic void setMaxFieldSize(int maxFieldSize)
throws SQLException
setMaxFieldSize 在接口中 StatementSQLExceptionpublic int getMaxRows()
throws SQLException
getMaxRows 在接口中 StatementSQLExceptionpublic void setMaxRows(int maxRows)
throws SQLException
setMaxRows 在接口中 StatementSQLExceptionpublic void setEscapeProcessing(boolean b)
throws SQLException
setEscapeProcessing 在接口中 StatementSQLExceptionpublic int getQueryTimeout()
throws SQLException
getQueryTimeout 在接口中 StatementSQLExceptionpublic void setQueryTimeout(int queryTimeout)
throws SQLException
setQueryTimeout 在接口中 StatementSQLExceptionpublic void cancel()
throws SQLException
cancel 在接口中 StatementSQLExceptionpublic SQLWarning getWarnings() throws SQLException
getWarnings 在接口中 StatementSQLExceptionpublic void clearWarnings()
throws SQLException
clearWarnings 在接口中 StatementSQLExceptionpublic void setCursorName(String cursorName) throws SQLException
setCursorName 在接口中 StatementSQLExceptionpublic boolean execute(String sql) throws SQLException
execute 在接口中 StatementSQLExceptionpublic ResultSet getResultSet() throws SQLException
getResultSet 在接口中 StatementSQLExceptionpublic int getUpdateCount()
throws SQLException
getUpdateCount 在接口中 StatementSQLExceptionpublic boolean getMoreResults()
throws SQLException
getMoreResults 在接口中 StatementSQLExceptionpublic void setFetchDirection(int fetchDirection)
throws SQLException
setFetchDirection 在接口中 StatementSQLExceptionpublic int getFetchDirection()
throws SQLException
getFetchDirection 在接口中 StatementSQLExceptionpublic void setFetchSize(int fetchSize)
throws SQLException
setFetchSize 在接口中 StatementSQLExceptionpublic int getFetchSize()
throws SQLException
getFetchSize 在接口中 StatementSQLExceptionpublic int getResultSetConcurrency()
throws SQLException
getResultSetConcurrency 在接口中 StatementSQLExceptionpublic int getResultSetType()
throws SQLException
getResultSetType 在接口中 StatementSQLExceptionpublic void addBatch(String sql) throws SQLException
addBatch 在接口中 StatementSQLExceptionpublic void clearBatch()
throws SQLException
clearBatch 在接口中 StatementSQLExceptionpublic int[] executeBatch()
throws SQLException
executeBatch 在接口中 StatementSQLExceptionpublic Connection getConnection() throws SQLException
getConnection 在接口中 StatementSQLExceptionpublic boolean getMoreResults(int current)
throws SQLException
getMoreResults 在接口中 StatementSQLExceptionpublic ResultSet getGeneratedKeys() throws SQLException
getGeneratedKeys 在接口中 StatementSQLExceptionpublic int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException
executeUpdate 在接口中 StatementSQLExceptionpublic int executeUpdate(String sql, int[] columnIndexes) throws SQLException
executeUpdate 在接口中 StatementSQLExceptionpublic int executeUpdate(String sql, String[] columnNames) throws SQLException
executeUpdate 在接口中 StatementSQLExceptionpublic boolean execute(String sql, int autoGeneratedKeys) throws SQLException
execute 在接口中 StatementSQLExceptionpublic boolean execute(String sql, int[] columnIndexes) throws SQLException
execute 在接口中 StatementSQLExceptionpublic boolean execute(String sql, String[] columnNames) throws SQLException
execute 在接口中 StatementSQLExceptionpublic int getResultSetHoldability()
throws SQLException
getResultSetHoldability 在接口中 StatementSQLExceptionpublic boolean isClosed()
throws SQLException
isClosed 在接口中 StatementSQLExceptionpublic void setPoolable(boolean b)
throws SQLException
setPoolable 在接口中 StatementSQLExceptionpublic boolean isPoolable()
throws SQLException
isPoolable 在接口中 StatementSQLExceptionpublic void closeOnCompletion()
throws SQLException
closeOnCompletion 在接口中 StatementSQLExceptionpublic boolean isCloseOnCompletion()
throws SQLException
isCloseOnCompletion 在接口中 StatementSQLExceptionpublic <T> T unwrap(Class<T> aClass) throws SQLException
unwrap 在接口中 WrapperSQLExceptionpublic boolean isWrapperFor(Class<?> aClass) throws SQLException
isWrapperFor 在接口中 WrapperSQLExceptionprotected com.xxdb.data.BasicInt tableInsert(String tableName, String sql) throws IOException
IOExceptionCopyright © 2023 dolphindb. All rights reserved.