com.continuent.tungsten.replicator.extractor.mysql
Class SerialBlob

java.lang.Object
  extended by javax.sql.rowset.serial.SerialBlob
      extended by com.continuent.tungsten.replicator.extractor.mysql.SerialBlob
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.sql.Blob

public class SerialBlob
extends javax.sql.rowset.serial.SerialBlob

This class defines a SerialBlob

Version:
1.0
Author:
Stephane Giron
See Also:
Serialized Form

Constructor Summary
SerialBlob(java.sql.Blob blob)
           
SerialBlob(byte[] b)
           
 
Method Summary
 byte[] getBytes(long pos, int length)
           
 
Methods inherited from class javax.sql.rowset.serial.SerialBlob
free, getBinaryStream, getBinaryStream, length, position, position, setBinaryStream, setBytes, setBytes, truncate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerialBlob

public SerialBlob(byte[] b)
           throws javax.sql.rowset.serial.SerialException,
                  java.sql.SQLException
Throws:
javax.sql.rowset.serial.SerialException
java.sql.SQLException

SerialBlob

public SerialBlob(java.sql.Blob blob)
           throws javax.sql.rowset.serial.SerialException,
                  java.sql.SQLException
Throws:
javax.sql.rowset.serial.SerialException
java.sql.SQLException
Method Detail

getBytes

public byte[] getBytes(long pos,
                       int length)
                throws javax.sql.rowset.serial.SerialException
Specified by:
getBytes in interface java.sql.Blob
Overrides:
getBytes in class javax.sql.rowset.serial.SerialBlob
Throws:
javax.sql.rowset.serial.SerialException