The next table lists the functions in lobLib.
System function/Invocation | Description |
---|---|
attachBlobToFile(blobVariable, fileName) |
Associates a specified file with a BLOB variable, but does not write to the file. |
attachBlobToTempFile(blobVariable ) |
Associates a unique, temporary system file with a BLOB variable, but does not write to the file. |
attachClobToFile(clobVariable, fileName) |
Associates a specified file with a CLOB variable, but does not write to the file. |
attachClobToTempFile(clobVariable ) |
Associates a unique, temporary system file with a CLOB variable, but does not write to the file. |
freeBlob(blobVariable) |
Releases the resources that a BLOB variable uses. |
freeClob(clobVariable) |
Releases the resources that a CLOB variable uses. |
result = getBlobLen(blobVariable ) |
Returns the number of bytes in the value that a BLOB variable references. |
result = getClobLen(clobVariable) |
Returns the number of characters that a CLOB variable references. |
result = getStrFromClob(clobVariable) |
Returns a string that corresponds to the value that a CLOB variable references. |
result = getSubStrFromClob(clobVariable, |
Returns a substring from the value that a CLOB variable references. |
loadBlobFromFile(blobVariable, fileName) |
Copies the data from a specified file to the memory area that a BLOB variable references. |
loadClobFromFile(blobVariable, fileName) |
Copies the data from a specified file to a memory area that a CLOB variable references. |
setClobFromString(clobVariable, str) |
Copies a string into the memory area that a CLOB variable references. |
setClobFromStringAtPosition(clobVariable, |
Copies a string into a memory area that a CLOB variable references, starting at a specified position in the memory area. |
truncateBlob(blobVariable, length) |
Truncates the value that a BLOB variable references. |
truncateClob(clobVariable, length) |
Truncates the value that a CLOB variable references. |
updateBlobToFile(blobVariable, fileName) |
Copies the data that a BLOB variable references into a specified file. |
updateClobToFile(blobVariable, fileName) |
Copies the data that a CLOB variable references into a specified file. |