Platforms to show: All Mac Windows Linux Cross-Platform

Back to JavaBlobMBS class.

JavaBlobMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Java Database MBS Java Plugin 15.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The private constructor.

JavaBlobMBS.getBytes(Position as Int64, Length as Integer) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Java Database MBS Java Plugin 8.5 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Retrieves all or part of the BLOB value that this Blob object represents, as an array of bytes.

This byte array contains up to length consecutive bytes starting at position pos.

pos: the ordinal position of the first byte in the BLOB value to be extracted; the first byte is at position 1
length: the number of consecutive bytes to be copied

Returns a byte array (as string) containing up to length consecutive bytes from the BLOB value designated by this Blob object, starting with the byte at position pos

JavaBlobMBS.length as int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Java Database MBS Java Plugin 8.5 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Returns the number of bytes in the BLOB value designated by this Blob object.

JavaBlobMBS.position(SearchString as JavaBlobMBS, Position as Int64) as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Java Database MBS Java Plugin 8.5 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Retrieves the byte position in the BLOB value designated by this Blob object at which pattern begins. The search begins at position start.

pattern: the Blob object designating the BLOB value for which to search
start: the position in the BLOB value at which to begin searching; the first position is 1

Returns the position at which the pattern begins, else -1

See also:

JavaBlobMBS.position(SearchString as String, Position as Int64) as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Java Database MBS Java Plugin 8.5 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Retrieves the byte position at which the specified byte array pattern begins within the BLOB value that this Blob object represents.

The search for pattern begins at position start.

pattern: the byte array for which to search
start: the position at which to begin searching; the first position is 1

Returns the position at which the pattern appears, else -1

See also:

JavaBlobMBS.setBytes(Position as Int64, Value as String) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Java Database MBS Java Plugin 8.5 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Writes the given array of bytes to the BLOB value that this Blob object represents, starting at position pos, and returns the number of bytes written.

pos: the position in the BLOB object at which to start writing
bytes: the array of bytes to be written to the BLOB value that this Blob object represents

Returns the number of bytes written

See also:

JavaBlobMBS.setBytes(Position as Int64, Value as String, Offset as Integer, Length as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Java Database MBS Java Plugin 8.5 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Writes all or part of the given byte array to the BLOB value that this Blob object represents and returns the number of bytes written.

Writing starts at position pos in the BLOB value; len bytes from the given byte array are written.

pos: the position in the BLOB object at which to start writing
bytes: the array of bytes to be written to this BLOB object
offset: the offset into the array bytes at which to start reading the bytes to be set
len: the number of bytes to be written to the BLOB value from the array of bytes bytes

Returns the number of bytes written

See also:

JavaBlobMBS.truncate(len as int64)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Java Database MBS Java Plugin 8.5 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Truncates the BLOB value that this Blob object represents to be len bytes in length.

len: the length, in bytes, to which the BLOB value that this Blob object represents should be truncated

The items on this page are in the following plugins: MBS Java Plugin.


The biggest plugin in space...