com.mysema.query.sql.types
Class BytesType

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

public class BytesType
extends AbstractType<byte[]>

Author:
tiwe

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

Constructor Detail

BytesType

public BytesType()

BytesType

public BytesType(int type)
Method Detail

getValue

public byte[] getValue(ResultSet rs,
                       int startIndex)
                throws SQLException
Throws:
SQLException

getReturnedClass

public Class<byte[]> getReturnedClass()

setValue

public void setValue(PreparedStatement st,
                     int startIndex,
                     byte[] value)
              throws SQLException
Throws:
SQLException


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