クラス org.objectweb.cjdbc.common.sql.filters.AbstractBlobFilter

org.objectweb.cjdbc.common.sql.filters.AbstractBlobFilterに対する継承グラフ

Inheritance graph
[凡例]
すべてのメンバ一覧

説明

This class defines a BlobFilterInterface. All implementing interface should satisfy the following: - Implementation is not dependant of the database - decode(encode(data)) = data

作者:
Nicolas Modrzyk
バージョン:
1.0

AbstractBlobFilter.java39 行で定義されています。

Public メソッド

abstract String encode (byte[] data)
abstract String encode (String data)
abstract byte[] decode (byte[] data)
abstract byte[] decode (String data)
abstract String getXml ()

Static Public メソッド

AbstractBlobFilter getBlobFilterInstance (String blobEncodingMethod)


メソッド

abstract byte [] org.objectweb.cjdbc.common.sql.filters.AbstractBlobFilter.decode String  data  )  [pure virtual]
 

Decode the blob data from the database. This must done in a database independant manner.

引数:
data the data to decode
戻り値:
byte[] decoded byte array of data

org.objectweb.cjdbc.common.sql.filters.HexaBlobFilter, と org.objectweb.cjdbc.common.sql.filters.NoneBlobFilterで実装されています.

abstract byte [] org.objectweb.cjdbc.common.sql.filters.AbstractBlobFilter.decode byte[]  data  )  [pure virtual]
 

Decode the blob data from the database. This must done in a database independant manner.

引数:
data the data to decode
戻り値:
byte[] decoded byte array of data

org.objectweb.cjdbc.common.sql.filters.HexaBlobFilter, と org.objectweb.cjdbc.common.sql.filters.NoneBlobFilterで実装されています.

参照元 org.objectweb.cjdbc.driver.DriverResultSet.getBytes(), と org.objectweb.cjdbc.driver.DriverResultSet.getObject().

abstract String org.objectweb.cjdbc.common.sql.filters.AbstractBlobFilter.encode String  data  )  [pure virtual]
 

Encode the blob data in a form that is independant of the database.

引数:
data the byte array to convert
戻り値:
String object is returned for convenience as this is the way it is going to be handled afterwards.

org.objectweb.cjdbc.common.sql.filters.HexaBlobFilter, と org.objectweb.cjdbc.common.sql.filters.NoneBlobFilterで実装されています.

abstract String org.objectweb.cjdbc.common.sql.filters.AbstractBlobFilter.encode byte[]  data  )  [pure virtual]
 

Encode the blob data in a form that is independant of the database.

引数:
data the byte array to convert
戻り値:
String object is returned for convenience as this is the way it is going to be handled afterwards.

org.objectweb.cjdbc.common.sql.filters.HexaBlobFilter, と org.objectweb.cjdbc.common.sql.filters.NoneBlobFilterで実装されています.

参照元 org.objectweb.cjdbc.driver.PreparedStatement.setBytes().

AbstractBlobFilter org.objectweb.cjdbc.common.sql.filters.AbstractBlobFilter.getBlobFilterInstance String  blobEncodingMethod  )  [static]
 

Get an instance of an AbstractBlobFilter given the blobEndodingMethod description. Currently supported are:
hexa
none
If the parameter specified is not appropriate then a NoneBlobFilter instance is returned.

引数:
blobEncodingMethod the string description
戻り値:
AbstractBlobFilter instance
AbstractBlobFilter.java53 行で定義されています。

参照元 org.objectweb.cjdbc.driver.Driver.connect().

00055 { 00056 if (blobEncodingMethod.equals(DatabasesXmlTags.VAL_hexa)) 00057 return new HexaBlobFilter(); 00058 else 00059 return new NoneBlobFilter(); 00060 }

abstract String org.objectweb.cjdbc.common.sql.filters.AbstractBlobFilter.getXml  )  [pure virtual]
 

Get the XML attribute value of the filter as defined in the DTD.

戻り値:
XML attribute value

org.objectweb.cjdbc.common.sql.filters.HexaBlobFilter, と org.objectweb.cjdbc.common.sql.filters.NoneBlobFilterで実装されています.

参照元 org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseWorkerThread.run().


このクラスの説明は次のファイルから生成されました:
CJDBCversion1.0.4に対してTue Oct 12 15:16:18 2004に生成されました。 doxygen 1.3.8