StaticLOB_Constant for read-only mode.
StaticLOB_Constant for read/write mode.
This method closes a previously opened BLOB.
This method frees the temporary BLOB in the default temporary tablespace.
When creating the table, you can specify the chunking factor, a multiple of tablespace blocks in bytes. This corresponds to the chunk size used by the BLOB data layer when accessing or modifying the BLOB value. Part of the chunk is used to store system-related information, and the rest stores the BLOB value. This method returns the amount of space used in the BLOB chunk to store the BLOB value.
This method checks to see if the BLOB was already opened using the input locator.
This method determines whether a BLOB instance is temporary.
This method gets the length of the specified BLOB. The length in bytes is returned.
This method opens a BLOB in the indicated mode. Valid modes include read-only and read/write.
This method reads a piece of a BLOB, and returns the specified amount into the buffer parameter, starting from an absolute offset from the beginning of the BLOB. If the input offset points past the End of BLOB, a NO_DATA_FOUND exception is raised.
Number of bytes to read.
Offset in bytes from the start of the BLOB (origin: 1).
a Uint8Array that contains the bytes actually read.
This method writes data into an internal BLOB, starting from an absolute offset from the beginning of the BLOB. The data is written from the buffer parameter. WRITE replaces (overwrites) any data that already exists in the BLOB at the offset.
Offset in bytes from the start of the BLOB (origin: 1) for the write operation.
Data to write.
StaticcompareThis method compares two entire BLOBs or parts of two BLOBs.
First target for comparison.
Second target for comparison.
OptionaloptArgs: CompareOptionalArgumentsOptional arguments that specify amount and offsets.
0 if the compared portions are equal, non-zero if not
StaticcreateThis constructor creates a temporary BLOB and its corresponding index in your default temporary tablespace. The temporary BLOB is created with SESSION duration.
Specifies if BLOB should be read into buffer cache or not.
JavaScript API for Oracle type Binary Large Object (BLOB).