程序包 com.databend.jdbc

# 类 DatabendStatement

java.lang.Object
com.databend.jdbc.DatabendStatement

所有已实现的接口:
  `AutoCloseable`, `Statement`, `Wrapper`

直接已知子类:
  `DatabendPreparedStatement`

public class DatabendStatement extends Object implements Statement

## 字段概要

### 从接口继承的字段 java.sql.Statement

`CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO`

## 方法概要

修饰符和类型
方法
说明
`void`
`addBatch(String s)`
`void`
`cancel()`
`protected final void`
`checkOpen()`
`void`
`clearBatch()`
`void`
`clearWarnings()`
`void`
`close()`
`void`
`closeOnCompletion()`
`protected final DatabendConnection`
`connection()`
`boolean`
`execute(String s)`
`boolean`
`execute(String s, int i)`
`boolean`
`execute(String s, int[] ints)`
`boolean`
`execute(String s, String[] strings)`
`int[]`
`executeBatch()`
`ResultSet`
`executeQuery(String s)`
`int`
`executeUpdate(String s)`
`int`
`executeUpdate(String s, int i)`
`int`
`executeUpdate(String s, int[] ints)`
`int`
`executeUpdate(String s, String[] strings)`
`Connection`
`getConnection()`
`int`
`getFetchDirection()`
`int`
`getFetchSize()`
`ResultSet`
`getGeneratedKeys()`
`int`
`getMaxFieldSize()`
`int`
`getMaxRows()`
`boolean`
`getMoreResults()`
`boolean`
`getMoreResults(int i)`
`int`
`getQueryTimeout()`
`ResultSet`
`getResultSet()`
`int`
`getResultSetConcurrency()`
`int`
`getResultSetHoldability()`
`int`
`getResultSetType()`
`int`
`getUpdateCount()`
`SQLWarning`
`getWarnings()`
`boolean`
`isClosed()`
`boolean`
`isCloseOnCompletion()`
`boolean`
`isPoolable()`
`boolean`
`isWrapperFor(Class<?> aClass)`
`protected final Optional<DatabendConnection>`
`optionalConnection()`
`void`
`setCursorName(String s)`
`void`
`setEscapeProcessing(boolean b)`
`void`
`setFetchDirection(int i)`
`void`
`setFetchSize(int i)`
`void`
`setMaxFieldSize(int i)`
`void`
`setMaxRows(int i)`
`void`
`setPoolable(boolean b)`
`void`
`setQueryTimeout(int i)`
`<T> T`
`unwrap(Class<T> iface)`

### 从类继承的方法 java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### 从接口继承的方法 java.sql.Statement

`enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, isSimpleIdentifier, setLargeMaxRows`

## 方法详细资料

### executeQuery

public ResultSet executeQuery(String s) throws SQLException

指定者:
  `executeQuery` 在接口中 `Statement`
抛出:
  `SQLException`

### executeUpdate

public int executeUpdate(String s) throws SQLException

指定者:
  `executeUpdate` 在接口中 `Statement`
抛出:
  `SQLException`

### close

public void close() throws SQLException

指定者:
  `close` 在接口中 `AutoCloseable`
指定者:
  `close` 在接口中 `Statement`
抛出:
  `SQLException`

### getMaxFieldSize

public int getMaxFieldSize() throws SQLException

指定者:
  `getMaxFieldSize` 在接口中 `Statement`
抛出:
  `SQLException`

### setMaxFieldSize

public void setMaxFieldSize(int i) throws SQLException

指定者:
  `setMaxFieldSize` 在接口中 `Statement`
抛出:
  `SQLException`

### getMaxRows

public int getMaxRows() throws SQLException

指定者:
  `getMaxRows` 在接口中 `Statement`
抛出:
  `SQLException`

### setMaxRows

public void setMaxRows(int i) throws SQLException

指定者:
  `setMaxRows` 在接口中 `Statement`
抛出:
  `SQLException`

### setEscapeProcessing

public void setEscapeProcessing(boolean b) throws SQLException

指定者:
  `setEscapeProcessing` 在接口中 `Statement`
抛出:
  `SQLException`

### getQueryTimeout

public int getQueryTimeout() throws SQLException

指定者:
  `getQueryTimeout` 在接口中 `Statement`
抛出:
  `SQLException`

### setQueryTimeout

public void setQueryTimeout(int i) throws SQLException

指定者:
  `setQueryTimeout` 在接口中 `Statement`
抛出:
  `SQLException`

### cancel

public void cancel() throws SQLException

指定者:
  `cancel` 在接口中 `Statement`
抛出:
  `SQLException`

### getWarnings

public SQLWarning getWarnings() throws SQLException

指定者:
  `getWarnings` 在接口中 `Statement`
抛出:
  `SQLException`

### clearWarnings

public void clearWarnings() throws SQLException

指定者:
  `clearWarnings` 在接口中 `Statement`
抛出:
  `SQLException`

### setCursorName

public void setCursorName(String s) throws SQLException

指定者:
  `setCursorName` 在接口中 `Statement`
抛出:
  `SQLException`

### execute

public boolean execute(String s) throws SQLException

指定者:
  `execute` 在接口中 `Statement`
抛出:
  `SQLException`

### getResultSet

public ResultSet getResultSet() throws SQLException

指定者:
  `getResultSet` 在接口中 `Statement`
抛出:
  `SQLException`

### getUpdateCount

public int getUpdateCount() throws SQLException

指定者:
  `getUpdateCount` 在接口中 `Statement`
抛出:
  `SQLException`

### getMoreResults

public boolean getMoreResults() throws SQLException

指定者:
  `getMoreResults` 在接口中 `Statement`
抛出:
  `SQLException`

### getFetchDirection

public int getFetchDirection() throws SQLException

指定者:
  `getFetchDirection` 在接口中 `Statement`
抛出:
  `SQLException`

### setFetchDirection

public void setFetchDirection(int i) throws SQLException

指定者:
  `setFetchDirection` 在接口中 `Statement`
抛出:
  `SQLException`

### getFetchSize

public int getFetchSize() throws SQLException

指定者:
  `getFetchSize` 在接口中 `Statement`
抛出:
  `SQLException`

### setFetchSize

public void setFetchSize(int i) throws SQLException

指定者:
  `setFetchSize` 在接口中 `Statement`
抛出:
  `SQLException`

### getResultSetConcurrency

public int getResultSetConcurrency() throws SQLException

指定者:
  `getResultSetConcurrency` 在接口中 `Statement`
抛出:
  `SQLException`

### getResultSetType

public int getResultSetType() throws SQLException

指定者:
  `getResultSetType` 在接口中 `Statement`
抛出:
  `SQLException`

### addBatch

public void addBatch(String s) throws SQLException

指定者:
  `addBatch` 在接口中 `Statement`
抛出:
  `SQLException`

### clearBatch

public void clearBatch() throws SQLException

指定者:
  `clearBatch` 在接口中 `Statement`
抛出:
  `SQLException`

### executeBatch

public int[] executeBatch() throws SQLException

指定者:
  `executeBatch` 在接口中 `Statement`
抛出:
  `SQLException`

### getConnection

public Connection getConnection() throws SQLException

指定者:
  `getConnection` 在接口中 `Statement`
抛出:
  `SQLException`

### getMoreResults

public boolean getMoreResults(int i) throws SQLException

指定者:
  `getMoreResults` 在接口中 `Statement`
抛出:
  `SQLException`

### getGeneratedKeys

public ResultSet getGeneratedKeys() throws SQLException

指定者:
  `getGeneratedKeys` 在接口中 `Statement`
抛出:
  `SQLException`

### executeUpdate

public int executeUpdate(String s, int i) throws SQLException

指定者:
  `executeUpdate` 在接口中 `Statement`
抛出:
  `SQLException`

### executeUpdate

public int executeUpdate(String s, int[] ints) throws SQLException

指定者:
  `executeUpdate` 在接口中 `Statement`
抛出:
  `SQLException`

### executeUpdate

public int executeUpdate(String s, String[] strings) throws SQLException

指定者:
  `executeUpdate` 在接口中 `Statement`
抛出:
  `SQLException`

### execute

public boolean execute(String s, int i) throws SQLException

指定者:
  `execute` 在接口中 `Statement`
抛出:
  `SQLException`

### execute

public boolean execute(String s, int[] ints) throws SQLException

指定者:
  `execute` 在接口中 `Statement`
抛出:
  `SQLException`

### execute

public boolean execute(String s, String[] strings) throws SQLException

指定者:
  `execute` 在接口中 `Statement`
抛出:
  `SQLException`

### getResultSetHoldability

@NotImplemented public int getResultSetHoldability() throws SQLException

指定者:
  `getResultSetHoldability` 在接口中 `Statement`
抛出:
  `SQLException`

### isClosed

public boolean isClosed() throws SQLException

指定者:
  `isClosed` 在接口中 `Statement`
抛出:
  `SQLException`

### isPoolable

public boolean isPoolable() throws SQLException

指定者:
  `isPoolable` 在接口中 `Statement`
抛出:
  `SQLException`

### setPoolable

public void setPoolable(boolean b) throws SQLException

指定者:
  `setPoolable` 在接口中 `Statement`
抛出:
  `SQLException`

### closeOnCompletion

public void closeOnCompletion() throws SQLException

指定者:
  `closeOnCompletion` 在接口中 `Statement`
抛出:
  `SQLException`

### isCloseOnCompletion

public boolean isCloseOnCompletion() throws SQLException

指定者:
  `isCloseOnCompletion` 在接口中 `Statement`
抛出:
  `SQLException`

### unwrap

public <T> T unwrap(Class<T> iface) throws SQLException

指定者:
  `unwrap` 在接口中 `Wrapper`
抛出:
  `SQLException`

### isWrapperFor

public boolean isWrapperFor(Class<?> aClass) throws SQLException

指定者:
  `isWrapperFor` 在接口中 `Wrapper`
抛出:
  `SQLException`

### checkOpen

protected final void checkOpen() throws SQLException

抛出:
  `SQLException`

### connection

protected final DatabendConnection connection() throws SQLException

抛出:
  `SQLException`

### optionalConnection

protected final Optional<DatabendConnection> optionalConnection()