org.apache.sqoop.lib
Class LobSerializer

java.lang.Object
  extended by org.apache.sqoop.lib.LobSerializer

public final class LobSerializer
extends java.lang.Object

Serialize LOB classes to/from DataInput and DataOutput objects.


Method Summary
static BlobRef readBlobFields(java.io.DataInput in)
           
static ClobRef readClobFields(java.io.DataInput in)
           
static void writeBlob(BlobRef blob, java.io.DataOutput out)
           
static void writeClob(ClobRef clob, java.io.DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

writeClob

public static void writeClob(ClobRef clob,
                             java.io.DataOutput out)
                      throws java.io.IOException
Throws:
java.io.IOException

writeBlob

public static void writeBlob(BlobRef blob,
                             java.io.DataOutput out)
                      throws java.io.IOException
Throws:
java.io.IOException

readClobFields

public static ClobRef readClobFields(java.io.DataInput in)
                              throws java.io.IOException
Throws:
java.io.IOException

readBlobFields

public static BlobRef readBlobFields(java.io.DataInput in)
                              throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011 The Apache Software Foundation