org.teiid.client.lob
Class LobChunk

java.lang.Object
  extended by org.teiid.client.lob.LobChunk
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class LobChunk
extends java.lang.Object
implements java.io.Externalizable

A Lob Chunk object which carries information packets in byte streams. This class used as value object to transfer blob object's data chunk back and forth between the client and server.

See Also:
Serialized Form

Constructor Summary
LobChunk()
           
LobChunk(byte[] data, boolean last)
           
 
Method Summary
 byte[] getBytes()
           
 boolean isLast()
           
 void readExternal(java.io.ObjectInput in)
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LobChunk

public LobChunk()

LobChunk

public LobChunk(byte[] data,
                boolean last)
Method Detail

getBytes

public byte[] getBytes()

isLast

public boolean isLast()

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException


Copyright © 2011. All Rights Reserved.