com.mysema.query.sql.types
Class BlobType

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

public class BlobType
extends Object
implements Type<Blob>

Author:
tiwe

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

Constructor Detail

BlobType

public BlobType()

BlobType

public BlobType(int blobType)
Method Detail

getValue

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

getReturnedClass

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

setValue

public void setValue(PreparedStatement st,
                     int startIndex,
                     Blob value)
              throws SQLException
Specified by:
setValue in interface Type<Blob>
Throws:
SQLException

getSQLTypes

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


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