com.sun.mdm.index.ops
Class MySQLBlobHelper

java.lang.Object
  extended bycom.sun.mdm.index.ops.BlobHelper
      extended bycom.sun.mdm.index.ops.MySQLBlobHelper

public class MySQLBlobHelper
extends BlobHelper


Constructor Summary
MySQLBlobHelper()
          Creates a new instance of SQLBlobHelper
 
Method Summary
(package private)  java.lang.Object getValue(java.sql.ResultSet rs, java.lang.String column)
          Gets the blob value.
(package private)  void setParamBlob(BlobHelperParameters bhp, java.lang.Object value)
          Set the blob parameter.
(package private)  void setParamBlob(java.sql.ResultSet rs, java.lang.String column, java.lang.Object value)
          Set the blob parameter.
 
Methods inherited from class com.sun.mdm.index.ops.BlobHelper
getBlobHelper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MySQLBlobHelper

public MySQLBlobHelper()
Creates a new instance of SQLBlobHelper

Method Detail

getValue

java.lang.Object getValue(java.sql.ResultSet rs,
                          java.lang.String column)
                    throws OPSException
Gets the blob value.

Specified by:
getValue in class BlobHelper
Parameters:
rs - Result set that includes the blob value.
column - Name of the blob column.
Returns:
value of the blob.
Throws:
OPSException - if an error occurs.

setParamBlob

void setParamBlob(BlobHelperParameters bhp,
                  java.lang.Object value)
            throws OPSException
Set the blob parameter.

Specified by:
setParamBlob in class BlobHelper
Parameters:
bhp - Parameters for the blob helper.
value - Value of blob
Throws:
OPSException - if error is encountered.

setParamBlob

void setParamBlob(java.sql.ResultSet rs,
                  java.lang.String column,
                  java.lang.Object value)
            throws OPSException
Set the blob parameter. This method is not supported by SQL Server.

Specified by:
setParamBlob in class BlobHelper
Parameters:
rs - ResultSet
column - column name
value - value of the blob
Throws:
OPSException - if error is encountered


Sun Microsystems, Inc.