org.asyrinx.brownie.jdbc.wrapper
クラス StatementWrapper

java.lang.Object
  拡張org.asyrinx.brownie.core.util.Wrapper
      拡張org.asyrinx.brownie.jdbc.wrapper.StatementWrapper
すべての実装インタフェース:
java.sql.Statement
直系の既知のサブクラス:
LogStatement, PreparedStatementWrapper, SqlLoadableStatement

public class StatementWrapper
extends Wrapper
implements java.sql.Statement

作成者:
Akima

フィールドの概要
 
クラス org.asyrinx.brownie.core.util.Wrapper から継承したフィールド
wrapped
 
インタフェース java.sql.Statement から継承したフィールド
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
 
コンストラクタの概要
StatementWrapper(java.sql.Statement source)
          Constructor for StatementWrapper.
 
メソッドの概要
 void addBatch(java.lang.String sql)
           
 void cancel()
           
 void clearBatch()
           
 void clearWarnings()
           
 void close()
           
 boolean execute(java.lang.String sql)
           
 boolean execute(java.lang.String sql, int autoGeneratedKeys)
           
 boolean execute(java.lang.String sql, int[] columnIndexes)
           
 boolean execute(java.lang.String sql, java.lang.String[] columnNames)
           
 int[] executeBatch()
           
 java.sql.ResultSet executeQuery(java.lang.String sql)
           
 int executeUpdate(java.lang.String sql)
           
 int executeUpdate(java.lang.String sql, int autoGeneratedKeys)
           
 int executeUpdate(java.lang.String sql, int[] columnIndexes)
           
 int executeUpdate(java.lang.String sql, java.lang.String[] columnNames)
           
 java.sql.Connection getConnection()
           
 int getFetchDirection()
           
 int getFetchSize()
           
 java.sql.ResultSet getGeneratedKeys()
           
 int getMaxFieldSize()
           
 int getMaxRows()
           
 boolean getMoreResults()
           
 boolean getMoreResults(int current)
           
 int getQueryTimeout()
           
 java.sql.ResultSet getResultSet()
           
 int getResultSetConcurrency()
           
 int getResultSetHoldability()
           
 int getResultSetType()
           
 int getUpdateCount()
           
 java.sql.SQLWarning getWarnings()
           
 void setCursorName(java.lang.String name)
           
 void setEscapeProcessing(boolean enable)
           
 void setFetchDirection(int direction)
           
 void setFetchSize(int rows)
           
 void setMaxFieldSize(int max)
           
 void setMaxRows(int max)
           
 void setQueryTimeout(int seconds)
           
 
クラス org.asyrinx.brownie.core.util.Wrapper から継承したメソッド
getCore, getCoreWrapped, getWrapped
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

StatementWrapper

public StatementWrapper(java.sql.Statement source)
Constructor for StatementWrapper.

メソッドの詳細

addBatch

public void addBatch(java.lang.String sql)
              throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の addBatch
パラメータ:
sql -
例外:
java.sql.SQLException

cancel

public void cancel()
            throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の cancel
例外:
java.sql.SQLException

clearBatch

public void clearBatch()
                throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の clearBatch
例外:
java.sql.SQLException

clearWarnings

public void clearWarnings()
                   throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の clearWarnings
例外:
java.sql.SQLException

close

public void close()
           throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の close
例外:
java.sql.SQLException

execute

public boolean execute(java.lang.String sql)
                throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の execute
パラメータ:
sql -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

execute

public boolean execute(java.lang.String sql,
                       int autoGeneratedKeys)
                throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の execute
パラメータ:
sql -
autoGeneratedKeys -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

execute

public boolean execute(java.lang.String sql,
                       int[] columnIndexes)
                throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の execute
パラメータ:
sql -
columnIndexes -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

execute

public boolean execute(java.lang.String sql,
                       java.lang.String[] columnNames)
                throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の execute
パラメータ:
sql -
columnNames -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

executeBatch

public int[] executeBatch()
                   throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の executeBatch
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

executeQuery

public java.sql.ResultSet executeQuery(java.lang.String sql)
                                throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の executeQuery
パラメータ:
sql -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

executeUpdate

public int executeUpdate(java.lang.String sql)
                  throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の executeUpdate
パラメータ:
sql -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

executeUpdate

public int executeUpdate(java.lang.String sql,
                         int autoGeneratedKeys)
                  throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の executeUpdate
パラメータ:
sql -
autoGeneratedKeys -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

executeUpdate

public int executeUpdate(java.lang.String sql,
                         int[] columnIndexes)
                  throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の executeUpdate
パラメータ:
sql -
columnIndexes -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

executeUpdate

public int executeUpdate(java.lang.String sql,
                         java.lang.String[] columnNames)
                  throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の executeUpdate
パラメータ:
sql -
columnNames -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getConnection

public java.sql.Connection getConnection()
                                  throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getConnection
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getFetchDirection

public int getFetchDirection()
                      throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getFetchDirection
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getFetchSize

public int getFetchSize()
                 throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getFetchSize
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getGeneratedKeys

public java.sql.ResultSet getGeneratedKeys()
                                    throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getGeneratedKeys
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getMaxFieldSize

public int getMaxFieldSize()
                    throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getMaxFieldSize
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getMaxRows

public int getMaxRows()
               throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getMaxRows
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getMoreResults

public boolean getMoreResults()
                       throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getMoreResults
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getMoreResults

public boolean getMoreResults(int current)
                       throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getMoreResults
パラメータ:
current -
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getQueryTimeout

public int getQueryTimeout()
                    throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getQueryTimeout
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getResultSet

public java.sql.ResultSet getResultSet()
                                throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getResultSet
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getResultSetConcurrency

public int getResultSetConcurrency()
                            throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getResultSetConcurrency
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getResultSetHoldability

public int getResultSetHoldability()
                            throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getResultSetHoldability
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getResultSetType

public int getResultSetType()
                     throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getResultSetType
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getUpdateCount

public int getUpdateCount()
                   throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getUpdateCount
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

getWarnings

public java.sql.SQLWarning getWarnings()
                                throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getWarnings
戻り値:
@throws java.sql.SQLException
例外:
java.sql.SQLException

setCursorName

public void setCursorName(java.lang.String name)
                   throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の setCursorName
パラメータ:
name -
例外:
java.sql.SQLException

setEscapeProcessing

public void setEscapeProcessing(boolean enable)
                         throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の setEscapeProcessing
パラメータ:
enable -
例外:
java.sql.SQLException

setFetchDirection

public void setFetchDirection(int direction)
                       throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の setFetchDirection
パラメータ:
direction -
例外:
java.sql.SQLException

setFetchSize

public void setFetchSize(int rows)
                  throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の setFetchSize
パラメータ:
rows -
例外:
java.sql.SQLException

setMaxFieldSize

public void setMaxFieldSize(int max)
                     throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の setMaxFieldSize
パラメータ:
max -
例外:
java.sql.SQLException

setMaxRows

public void setMaxRows(int max)
                throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の setMaxRows
パラメータ:
max -
例外:
java.sql.SQLException

setQueryTimeout

public void setQueryTimeout(int seconds)
                     throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の setQueryTimeout
パラメータ:
seconds -
例外:
java.sql.SQLException


Copyright © 2004 asyrinx organization. All Rights Reserved.