com.mysema.query.sql.types
Class InputStreamType

java.lang.Object
  extended by com.mysema.query.sql.types.InputStreamType
All Implemented Interfaces:
Type<InputStream>

public class InputStreamType
extends Object
implements Type<InputStream>

Author:
tiwe

Constructor Summary
InputStreamType()
           
 
Method Summary
 Class<InputStream> getReturnedClass()
           
 int[] getSQLTypes()
           
 InputStream getValue(ResultSet rs, int column)
           
 void setValue(PreparedStatement ps, int column, InputStream value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputStreamType

public InputStreamType()
Method Detail

getReturnedClass

public Class<InputStream> getReturnedClass()
Specified by:
getReturnedClass in interface Type<InputStream>

getSQLTypes

public int[] getSQLTypes()
Specified by:
getSQLTypes in interface Type<InputStream>

getValue

public InputStream getValue(ResultSet rs,
                            int column)
                     throws SQLException
Specified by:
getValue in interface Type<InputStream>
Throws:
SQLException

setValue

public void setValue(PreparedStatement ps,
                     int column,
                     InputStream value)
              throws SQLException
Specified by:
setValue in interface Type<InputStream>
Throws:
SQLException


Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.