EGL 库 LobLib

下表列出库 LobLib 中的函数。

系统函数/调用 描述

attachBlobToFile(blobVariable, fileName)

将类型为 BLOB 的变量引用的数据复制到指定文件中。

attachBlobToTempFile(blobVariable )

将类型为 BLOB 的变量引用的数据复制到唯一的临时系统文件中。

attachClobToFile(clobVariable, fileName)

将类型为 CLOB 的变量引用的数据复制到指定文件中。

attachClobToTempFile(clobVariable )

将类型为 CLOB 的变量引用的数据复制到唯一的临时系统文件中。

freeBlob(blobVariable)

释放类型为 BLOB 的变量使用的资源。

freeClob(clobVariable)

释放类型为 CLOB 的变量使用的资源。

result = getBlobLen(blobVariable )

返回类型为 BLOB 的变量引用的值中的字节数。

result = getClobLen(clobVariable)

返回类型为 CLOB 的变量引用的字符数。

result = getStrFromClob(clobVariable)

返回对应于类型为 CLOB 的变量引用的值的字符串。

result = getSubStrFromClob(clobVariable,
pos, length
)

返回类型为 CLOB 的变量引用的值中的子串。

loadBlobFromFile(blobVariable, fileName)

将指定文件中的数据复制至类型为 BLOB 的变量引用的内存区。

loadClobFromFile(blobVariable, fileName)

将指定文件中的数据复制至类型为 CLOB 的变量引用的内存区。

setClobFromString(clobVariable, str)

将字符串复制至类型为 CLOB 的变量引用的内存区。

setClobFromStringAtPosition(clobVariable,
pos, str
)

将字符串复制至类型为 CLOB 的变量引用的内存区,从内存区中的指定位置开始。

truncateBlob(blobVariable, length)

截断类型为 BLOB 的变量引用的值。

truncateClob(clobVariable, length)

截断类型为 CLOB 的变量引用的值。

updateBlobToFile(blobVariable, fileName)

将类型为 BLOB 的变量引用的数据复制到指定文件中。

updateClobToFile(blobVariable, fileName)

将类型为 CLOB 的变量引用的数据复制到指定文件中。
使用条款 | 反馈
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.