Package 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
- Since:
- Sep 12, 2004 (pre 2.3)
- Version:
- $Revision$ $Date$
- Author:
- fede, Last changed by: $Author$
-
Field Summary
Fields inherited from class org.dbunit.dataset.datatype.DataType
BIGINT, BIGINT_AUX_LONG, BINARY, BIT, BLOB, BOOLEAN, CHAR, CLOB, DATE, DECIMAL, DOUBLE, FLOAT, INTEGER, LONGNVARCHAR, LONGVARBINARY, LONGVARCHAR, NCHAR, NUMERIC, NVARCHAR, REAL, RELATIVE_DATE_TIME_PARSER, SMALLINT, TIME, TIMESTAMP, TINYINT, UNKNOWN, VARBINARY, VARCHAR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSqlValue(int column, ResultSet resultSet) Returns the specified column value from the specified resultset object.voidsetSqlValue(Object value, int column, PreparedStatement statement) Sets the given value on the given statement and therefore invokesBytesDataType.typeCast(Object).Methods inherited from class org.dbunit.dataset.datatype.BytesDataType
compare, compareNonNulls, loadFile, loadURL, typeCastMethods inherited from class org.dbunit.dataset.datatype.AbstractDataType
areObjectsEqual, compare, getSqlType, getTypeClass, isDateTime, isNumber, loadClass, loadClass, toStringMethods inherited from class org.dbunit.dataset.datatype.DataType
asString, forObject, forSqlType, forSqlTypeName, getSqlTypeName, isExtendedSyntax
-
Constructor Details
-
BinaryStreamDataType
-
-
Method Details
-
getSqlValue
Description copied from class:DataTypeReturns the specified column value from the specified resultset object.- Overrides:
getSqlValuein classBytesDataType- Throws:
SQLExceptionTypeCastException
-
setSqlValue
public void setSqlValue(Object value, int column, PreparedStatement statement) throws SQLException, TypeCastException Sets the given value on the given statement and therefore invokesBytesDataType.typeCast(Object).- Overrides:
setSqlValuein classBytesDataType- Throws:
SQLExceptionTypeCastException- See Also:
-