org.dbunit.dataset.datatype
Class BinaryStreamDataType
java.lang.Object
org.dbunit.dataset.datatype.DataType
org.dbunit.dataset.datatype.AbstractDataType
org.dbunit.dataset.datatype.BytesDataType
org.dbunit.dataset.datatype.BinaryStreamDataType
public class BinaryStreamDataType
- extends BytesDataType
Fields inherited from class org.dbunit.dataset.datatype.DataType |
BIGINT, BINARY, BLOB, BOOLEAN, CHAR, CLOB, DATE, DECIMAL, DOUBLE, FLOAT, INTEGER, LONGVARBINARY, LONGVARCHAR, NUMERIC, REAL, SMALLINT, TIME, TIMESTAMP, TINYINT, UNKNOWN, VARBINARY, VARCHAR |
Method Summary |
java.lang.Object |
getSqlValue(int column,
java.sql.ResultSet resultSet)
Returns the specified column value from the specified resultset object. |
void |
setSqlValue(java.lang.Object value,
int column,
java.sql.PreparedStatement statement)
Set the specified value to the specified prepared statement object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BinaryStreamDataType
public BinaryStreamDataType(java.lang.String name,
int sqlType)
getSqlValue
public java.lang.Object getSqlValue(int column,
java.sql.ResultSet resultSet)
throws java.sql.SQLException,
TypeCastException
- Description copied from class:
DataType
- Returns the specified column value from the specified resultset object.
- Overrides:
getSqlValue
in class BytesDataType
- Throws:
java.sql.SQLException
TypeCastException
setSqlValue
public void setSqlValue(java.lang.Object value,
int column,
java.sql.PreparedStatement statement)
throws java.sql.SQLException,
TypeCastException
- Description copied from class:
DataType
- Set the specified value to the specified prepared statement object.
- Overrides:
setSqlValue
in class BytesDataType
- Throws:
java.sql.SQLException
TypeCastException
Copyright © 2002-2008. All Rights Reserved.