org.seasar.doma.jdbc.type
クラス BytesType
java.lang.Object
org.seasar.doma.jdbc.type.AbstractJdbcType<byte[]>
org.seasar.doma.jdbc.type.BytesType
- すべての実装されたインタフェース:
- SqlLogFormatter<byte[]>, JdbcType<byte[]>
public class BytesType
- extends AbstractJdbcType<byte[]>
byte[]
用の JdbcType
の実装です。
- 作成者:
- taedium
メソッドの概要 |
protected java.lang.String |
doConvertToLogFormat(byte[] value)
サブクラスで値をログ用フォーマットの文字列に変換します。 |
protected byte[] |
doGetValue(java.sql.CallableStatement callableStatement,
int index)
サブクラスで CallableStatement から値を取得します。 |
protected byte[] |
doGetValue(java.sql.ResultSet resultSet,
int index)
サブクラスで ResultSet から値を取得します。 |
protected void |
doSetValue(java.sql.PreparedStatement preparedStatement,
int index,
byte[] value)
サブクラスで PreparedStatement に値を設定します。 |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BytesType
public BytesType()
doGetValue
protected byte[] doGetValue(java.sql.ResultSet resultSet,
int index)
throws java.sql.SQLException
- クラス
AbstractJdbcType
の記述:
- サブクラスで
ResultSet
から値を取得します。
- 定義:
- クラス
AbstractJdbcType<byte[]>
内の doGetValue
- パラメータ:
resultSet
- 結果セットindex
- インデックス
- 戻り値:
- 値
- 例外:
java.sql.SQLException
- SQL例外が発生した場合
doSetValue
protected void doSetValue(java.sql.PreparedStatement preparedStatement,
int index,
byte[] value)
throws java.sql.SQLException
- クラス
AbstractJdbcType
の記述:
- サブクラスで
PreparedStatement
に値を設定します。
- 定義:
- クラス
AbstractJdbcType<byte[]>
内の doSetValue
- パラメータ:
preparedStatement
- 準備された文index
- インデックスvalue
- 値
- 例外:
java.sql.SQLException
- SQL例外が発生した場合
doGetValue
protected byte[] doGetValue(java.sql.CallableStatement callableStatement,
int index)
throws java.sql.SQLException
- クラス
AbstractJdbcType
の記述:
- サブクラスで
CallableStatement
から値を取得します。
- 定義:
- クラス
AbstractJdbcType<byte[]>
内の doGetValue
- パラメータ:
callableStatement
- ストアドファンクションまたはプロシージャーを実行可能な文index
- インデックス
- 戻り値:
- 値
- 例外:
java.sql.SQLException
- SQL例外が発生した場合
doConvertToLogFormat
protected java.lang.String doConvertToLogFormat(byte[] value)
- クラス
AbstractJdbcType
の記述:
- サブクラスで値をログ用フォーマットの文字列に変換します。
- 定義:
- クラス
AbstractJdbcType<byte[]>
内の doConvertToLogFormat
- パラメータ:
value
- 値
- 戻り値:
- ログ用フォーマットの文字列
Copyright © 2009-2010 The Seasar Foundation. All Rights Reserved.