org.asyrinx.brownie.jdbc.measure
クラス StatementMeasure

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

public class StatementMeasure
extends Wrapper
implements java.sql.Statement

作成者:
Akima

フィールドの概要
protected  MeasureLog measureLog
           
protected static java.lang.String PREFIX
           
 
クラス 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
 
コンストラクタの概要
StatementMeasure(java.sql.Statement source)
          Constructor for StatementMeasure.
StatementMeasure(java.sql.Statement source, MeasureLog measureLog)
          Constructor for StatementMeasure.
 
メソッドの概要
 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)
           
static java.lang.String format(java.lang.String name, long t)
           
 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
 

フィールドの詳細

measureLog

protected final MeasureLog measureLog

PREFIX

protected static final java.lang.String PREFIX
関連項目:
定数フィールド値
コンストラクタの詳細

StatementMeasure

public StatementMeasure(java.sql.Statement source,
                        MeasureLog measureLog)
Constructor for StatementMeasure.


StatementMeasure

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

メソッドの詳細

format

public static java.lang.String format(java.lang.String name,
                                      long t)

execute

public boolean execute(java.lang.String sql)
                throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の execute
例外:
java.sql.SQLException
関連項目:
Statement.execute(String)

executeQuery

public java.sql.ResultSet executeQuery(java.lang.String sql)
                                throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の executeQuery
例外:
java.sql.SQLException
関連項目:
Statement.executeQuery(String)

executeUpdate

public int executeUpdate(java.lang.String sql)
                  throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の executeUpdate
例外:
java.sql.SQLException
関連項目:
Statement.executeUpdate(String)

addBatch

public void addBatch(java.lang.String sql)
              throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の addBatch
例外:
java.sql.SQLException
関連項目:
Statement.addBatch(String)

clearBatch

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

executeBatch

public int[] executeBatch()
                   throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の executeBatch
例外:
java.sql.SQLException
関連項目:
Statement.executeBatch()

close

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

getMaxFieldSize

public int getMaxFieldSize()
                    throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getMaxFieldSize
例外:
java.sql.SQLException
関連項目:
Statement.getMaxFieldSize()

setMaxFieldSize

public void setMaxFieldSize(int max)
                     throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の setMaxFieldSize
例外:
java.sql.SQLException
関連項目:
Statement.setMaxFieldSize(int)

getMaxRows

public int getMaxRows()
               throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getMaxRows
例外:
java.sql.SQLException
関連項目:
Statement.getMaxRows()

setMaxRows

public void setMaxRows(int max)
                throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の setMaxRows
例外:
java.sql.SQLException
関連項目:
Statement.setMaxRows(int)

setEscapeProcessing

public void setEscapeProcessing(boolean enable)
                         throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の setEscapeProcessing
例外:
java.sql.SQLException
関連項目:
Statement.setEscapeProcessing(boolean)

getQueryTimeout

public int getQueryTimeout()
                    throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getQueryTimeout
例外:
java.sql.SQLException
関連項目:
Statement.getQueryTimeout()

setQueryTimeout

public void setQueryTimeout(int seconds)
                     throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の setQueryTimeout
例外:
java.sql.SQLException
関連項目:
Statement.setQueryTimeout(int)

cancel

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

getWarnings

public java.sql.SQLWarning getWarnings()
                                throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getWarnings
例外:
java.sql.SQLException
関連項目:
Statement.getWarnings()

clearWarnings

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

setCursorName

public void setCursorName(java.lang.String name)
                   throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の setCursorName
例外:
java.sql.SQLException
関連項目:
Statement.setCursorName(String)

getResultSet

public java.sql.ResultSet getResultSet()
                                throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getResultSet
例外:
java.sql.SQLException
関連項目:
Statement.getResultSet()

getUpdateCount

public int getUpdateCount()
                   throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getUpdateCount
例外:
java.sql.SQLException
関連項目:
Statement.getUpdateCount()

getMoreResults

public boolean getMoreResults()
                       throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getMoreResults
例外:
java.sql.SQLException
関連項目:
Statement.getMoreResults()

setFetchDirection

public void setFetchDirection(int direction)
                       throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の setFetchDirection
例外:
java.sql.SQLException
関連項目:
Statement.setFetchDirection(int)

getFetchDirection

public int getFetchDirection()
                      throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getFetchDirection
例外:
java.sql.SQLException
関連項目:
Statement.getFetchDirection()

setFetchSize

public void setFetchSize(int rows)
                  throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の setFetchSize
例外:
java.sql.SQLException
関連項目:
Statement.setFetchSize(int)

getFetchSize

public int getFetchSize()
                 throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getFetchSize
例外:
java.sql.SQLException
関連項目:
Statement.getFetchSize()

getResultSetConcurrency

public int getResultSetConcurrency()
                            throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getResultSetConcurrency
例外:
java.sql.SQLException
関連項目:
Statement.getResultSetConcurrency()

getResultSetType

public int getResultSetType()
                     throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getResultSetType
例外:
java.sql.SQLException
関連項目:
Statement.getResultSetType()

getConnection

public java.sql.Connection getConnection()
                                  throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getConnection
例外:
java.sql.SQLException
関連項目:
Statement.getConnection()

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

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

getGeneratedKeys

public java.sql.ResultSet getGeneratedKeys()
                                    throws java.sql.SQLException
定義:
インタフェース java.sql.Statement 内の getGeneratedKeys
戻り値:
@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

getResultSetHoldability

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


Copyright © 2004 asyrinx organization. All Rights Reserved.