com.mysema.query.sql.types
Class BytesType

java.lang.Object
  extended by com.mysema.query.sql.types.BytesType
All Implemented Interfaces:
Type<byte[]>

public class BytesType
extends Object
implements Type<byte[]>

Author:
tiwe

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

Constructor Detail

BytesType

public BytesType()
Method Detail

getValue

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

getReturnedClass

public Class<byte[]> getReturnedClass()
Specified by:
getReturnedClass in interface Type<byte[]>

setValue

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

getSQLTypes

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


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