Woolpack API

woolpack.sql.fn
クラス SingleInput<C,R>

java.lang.Object
  上位を拡張 woolpack.sql.fn.SingleInput<C,R>
すべての実装されたインタフェース:
Fn<C,R,java.lang.Exception>

public class SingleInput<C,R>
extends java.lang.Object
implements Fn<C,R,java.lang.Exception>


コンストラクタの概要
SingleInput(javax.sql.DataSource dataSource, Fn<? super C,? extends java.lang.String,? extends java.lang.Exception> queryFactory, Fn<? super java.sql.PreparedStatement,? extends R,? extends java.lang.Exception> converter, Fn<? super java.sql.SQLException,?,? extends java.lang.Exception> errorFn)
           
 
メソッドの概要
 R exec(C c)
          関数を実行します。
 Fn<? super java.sql.PreparedStatement,? extends R,? extends java.lang.Exception> getConverter()
           
 javax.sql.DataSource getDataSource()
           
 Fn<? super java.sql.SQLException,?,? extends java.lang.Exception> getErrorFn()
           
 Fn<? super C,? extends java.lang.String,? extends java.lang.Exception> getQueryFactory()
           
 void setConverter(Fn<? super java.sql.PreparedStatement,? extends R,? extends java.lang.Exception> converter)
           
 void setDataSource(javax.sql.DataSource dataSource)
           
 void setErrorFn(Fn<? super java.sql.SQLException,?,? extends java.lang.Exception> errorFn)
           
 void setQueryFactory(Fn<? super C,? extends java.lang.String,? extends java.lang.Exception> queryFactory)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

SingleInput

public SingleInput(javax.sql.DataSource dataSource,
                   Fn<? super C,? extends java.lang.String,? extends java.lang.Exception> queryFactory,
                   Fn<? super java.sql.PreparedStatement,? extends R,? extends java.lang.Exception> converter,
                   Fn<? super java.sql.SQLException,?,? extends java.lang.Exception> errorFn)
メソッドの詳細

exec

public R exec(C c)
       throws java.lang.Exception
インタフェース Fn の記述:
関数を実行します。

定義:
インタフェース Fn<C,R,java.lang.Exception> 内の exec
パラメータ:
c - コンテキスト役。
戻り値:
返却値。
例外:
java.lang.Exception

getDataSource

public javax.sql.DataSource getDataSource()

setDataSource

public void setDataSource(javax.sql.DataSource dataSource)

getQueryFactory

public Fn<? super C,? extends java.lang.String,? extends java.lang.Exception> getQueryFactory()

setQueryFactory

public void setQueryFactory(Fn<? super C,? extends java.lang.String,? extends java.lang.Exception> queryFactory)

getConverter

public Fn<? super java.sql.PreparedStatement,? extends R,? extends java.lang.Exception> getConverter()

setConverter

public void setConverter(Fn<? super java.sql.PreparedStatement,? extends R,? extends java.lang.Exception> converter)

getErrorFn

public Fn<? super java.sql.SQLException,?,? extends java.lang.Exception> getErrorFn()

setErrorFn

public void setErrorFn(Fn<? super java.sql.SQLException,?,? extends java.lang.Exception> errorFn)

Woolpack API

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