woolpack.sql.adapter
クラス StatementAdapter

java.lang.Object
  上位を拡張 woolpack.sql.adapter.StatementAdapter
すべての実装されたインタフェース:
Statement

public class StatementAdapter
extends Object
implements Statement

委譲するだけのStatementです。
適用しているデザインパターン:Delegation。


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

コンストラクタの詳細

StatementAdapter

public StatementAdapter(Statement parent)
メソッドの詳細

getParent

public Statement getParent()

setParent

public void setParent(Statement parent)

addBatch

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

cancel

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

clearBatch

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

clearWarnings

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

close

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

execute

public boolean execute(String sql,
                       int autoGeneratedKeys)
                throws SQLException
定義:
インタフェース Statement 内の execute
例外:
SQLException

execute

public boolean execute(String sql,
                       int[] columnIndexes)
                throws SQLException
定義:
インタフェース Statement 内の execute
例外:
SQLException

execute

public boolean execute(String sql,
                       String[] columnNames)
                throws SQLException
定義:
インタフェース Statement 内の execute
例外:
SQLException

execute

public boolean execute(String sql)
                throws SQLException
定義:
インタフェース Statement 内の execute
例外:
SQLException

executeBatch

public int[] executeBatch()
                   throws SQLException
定義:
インタフェース Statement 内の executeBatch
例外:
SQLException

executeQuery

public ResultSet executeQuery(String sql)
                       throws SQLException
定義:
インタフェース Statement 内の executeQuery
例外:
SQLException

executeUpdate

public int executeUpdate(String sql,
                         int autoGeneratedKeys)
                  throws SQLException
定義:
インタフェース Statement 内の executeUpdate
例外:
SQLException

executeUpdate

public int executeUpdate(String sql,
                         int[] columnIndexes)
                  throws SQLException
定義:
インタフェース Statement 内の executeUpdate
例外:
SQLException

executeUpdate

public int executeUpdate(String sql,
                         String[] columnNames)
                  throws SQLException
定義:
インタフェース Statement 内の executeUpdate
例外:
SQLException

executeUpdate

public int executeUpdate(String sql)
                  throws SQLException
定義:
インタフェース Statement 内の executeUpdate
例外:
SQLException

getConnection

public Connection getConnection()
                         throws SQLException
定義:
インタフェース Statement 内の getConnection
例外:
SQLException

getFetchDirection

public int getFetchDirection()
                      throws SQLException
定義:
インタフェース Statement 内の getFetchDirection
例外:
SQLException

getFetchSize

public int getFetchSize()
                 throws SQLException
定義:
インタフェース Statement 内の getFetchSize
例外:
SQLException

getGeneratedKeys

public ResultSet getGeneratedKeys()
                           throws SQLException
定義:
インタフェース Statement 内の getGeneratedKeys
例外:
SQLException

getMaxFieldSize

public int getMaxFieldSize()
                    throws SQLException
定義:
インタフェース Statement 内の getMaxFieldSize
例外:
SQLException

getMaxRows

public int getMaxRows()
               throws SQLException
定義:
インタフェース Statement 内の getMaxRows
例外:
SQLException

getMoreResults

public boolean getMoreResults()
                       throws SQLException
定義:
インタフェース Statement 内の getMoreResults
例外:
SQLException

getMoreResults

public boolean getMoreResults(int current)
                       throws SQLException
定義:
インタフェース Statement 内の getMoreResults
例外:
SQLException

getQueryTimeout

public int getQueryTimeout()
                    throws SQLException
定義:
インタフェース Statement 内の getQueryTimeout
例外:
SQLException

getResultSet

public ResultSet getResultSet()
                       throws SQLException
定義:
インタフェース Statement 内の getResultSet
例外:
SQLException

getResultSetConcurrency

public int getResultSetConcurrency()
                            throws SQLException
定義:
インタフェース Statement 内の getResultSetConcurrency
例外:
SQLException

getResultSetHoldability

public int getResultSetHoldability()
                            throws SQLException
定義:
インタフェース Statement 内の getResultSetHoldability
例外:
SQLException

getResultSetType

public int getResultSetType()
                     throws SQLException
定義:
インタフェース Statement 内の getResultSetType
例外:
SQLException

getUpdateCount

public int getUpdateCount()
                   throws SQLException
定義:
インタフェース Statement 内の getUpdateCount
例外:
SQLException

getWarnings

public SQLWarning getWarnings()
                       throws SQLException
定義:
インタフェース Statement 内の getWarnings
例外:
SQLException

setCursorName

public void setCursorName(String name)
                   throws SQLException
定義:
インタフェース Statement 内の setCursorName
例外:
SQLException

setEscapeProcessing

public void setEscapeProcessing(boolean enable)
                         throws SQLException
定義:
インタフェース Statement 内の setEscapeProcessing
例外:
SQLException

setFetchDirection

public void setFetchDirection(int direction)
                       throws SQLException
定義:
インタフェース Statement 内の setFetchDirection
例外:
SQLException

setFetchSize

public void setFetchSize(int rows)
                  throws SQLException
定義:
インタフェース Statement 内の setFetchSize
例外:
SQLException

setMaxFieldSize

public void setMaxFieldSize(int max)
                     throws SQLException
定義:
インタフェース Statement 内の setMaxFieldSize
例外:
SQLException

setMaxRows

public void setMaxRows(int max)
                throws SQLException
定義:
インタフェース Statement 内の setMaxRows
例外:
SQLException

setQueryTimeout

public void setQueryTimeout(int seconds)
                     throws SQLException
定義:
インタフェース Statement 内の setQueryTimeout
例外:
SQLException


Copyright (C) 2006-2007 Takahiro Nakamura. All rights reserved.