wt.pds.oracle81
Class StandardLobHandler81

java.lang.Object
  extended bywt.pds.AbstractLobHandler
      extended bywt.pds.ChunkLobHandler
          extended bywt.pds.oracle81.StandardLobHandler81
All Implemented Interfaces:
LobHandler

public class StandardLobHandler81
extends ChunkLobHandler

This concrete class provides standard Lob handling implementation for Oracle 8.1 using JDBC.

Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
static boolean DEBUG
           
private static DebugWriter LOG
           
private static String PDS_RESOURCE
           
private static String RESOURCE
           
 
Constructor Summary
StandardLobHandler81()
           
 
Method Summary
protected  long getLobLength(WTConnection a_connection, Object a_blob)
          Returns the length of the specified LOB.
protected  void setLobLength(WTConnection a_connection, Object a_blob, long a_length)
          Set the length of the specified LOB.
protected  void write(WTConnection a_connection, Object a_blob, long a_blobOffset, InputStream a_inputStream, long a_length)
          Writes the data to the specified LOB.
 
Methods inherited from class wt.pds.ChunkLobHandler
setLob, setLob, setObjectAsLob
 
Methods inherited from class wt.pds.AbstractLobHandler
findLocator, getBlob, getLob, getLobAsByteArray, getLobAsObject, setBlob, streamAvailable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

DEBUG

public static final boolean DEBUG

LOG

private static final DebugWriter LOG

PDS_RESOURCE

private static final String PDS_RESOURCE
See Also:
Constant Field Values
Constructor Detail

StandardLobHandler81

public StandardLobHandler81()
Method Detail

setLobLength

protected void setLobLength(WTConnection a_connection,
                            Object a_blob,
                            long a_length)
                     throws DatastoreException
Set the length of the specified LOB.

Supported API: false

Specified by:
setLobLength in class ChunkLobHandler
Parameters:
a_connection -
a_blob -
a_length -
Throws:
DatastoreException

getLobLength

protected long getLobLength(WTConnection a_connection,
                            Object a_blob)
                     throws DatastoreException
Returns the length of the specified LOB.

Supported API: false

Specified by:
getLobLength in class ChunkLobHandler
Parameters:
a_connection -
a_blob -
Returns:
long
Throws:
DatastoreException

write

protected void write(WTConnection a_connection,
                     Object a_blob,
                     long a_blobOffset,
                     InputStream a_inputStream,
                     long a_length)
              throws WTIOException
Writes the data to the specified LOB.

Supported API: false

Specified by:
write in class ChunkLobHandler
Parameters:
a_connection - Connection to the database.
a_blob - Blob object reference to the data
a_blobOffset - Offset into the Blob data to begin writing
a_inputStream - Offset into the buffer data to begin writing from
a_length - Number of bytes to write
Throws:
WTIOException