org.seasar.doma.internal.jdbc.command
クラス SelectCommand<R>

java.lang.Object
  上位を拡張 org.seasar.doma.internal.jdbc.command.SelectCommand<R>
すべての実装されたインタフェース:
Command<R,SelectQuery>

public class SelectCommand<R>
extends Object
implements Command<R,SelectQuery>

作成者:
taedium

フィールドの概要
protected  SelectQuery query
           
protected  ResultSetHandler<R> resultSetHandler
           
protected  PreparedSql sql
           
 
コンストラクタの概要
SelectCommand(SelectQuery query, ResultSetHandler<R> resultSetHandler)
           
 
メソッドの概要
protected  void bindParameters(PreparedStatement preparedStatement)
           
 R execute()
           
protected  R executeQuery(PreparedStatement preparedStatement)
           
protected  void log()
           
protected  void setupOptions(PreparedStatement preparedStatement)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

query

protected final SelectQuery query

sql

protected final PreparedSql sql

resultSetHandler

protected final ResultSetHandler<R> resultSetHandler
コンストラクタの詳細

SelectCommand

public SelectCommand(SelectQuery query,
                     ResultSetHandler<R> resultSetHandler)
メソッドの詳細

execute

public R execute()
定義:
インタフェース Command<R,SelectQuery> 内の execute

log

protected void log()

setupOptions

protected void setupOptions(PreparedStatement preparedStatement)
                     throws SQLException
例外:
SQLException

bindParameters

protected void bindParameters(PreparedStatement preparedStatement)
                       throws SQLException
例外:
SQLException

executeQuery

protected R executeQuery(PreparedStatement preparedStatement)
                  throws SQLException
例外:
SQLException


Copyright © 2009 The Seasar Foundation. All Rights Reserved.