Platforms to show: All Mac Windows Linux Cross-Platform

Back to JavaClobMBS class.

JavaClobMBS.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.

JavaClobMBS.getSubString(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 a copy of the specified substring in the CLOB value designated by this Clob object.

The substring begins at position pos and has up to length consecutive characters.

Parameters:
pos: the first character of the substring to be extracted. The first character is at position 1.
length: the number of consecutive characters to be copied

Returns a String that is the specified substring in the CLOB value designated by this Clob object

Some examples using this method:

JavaClobMBS.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
Retrieves the number of characters in the CLOB value designated by this Clob object.

Returns length of the CLOB in characters.

JavaClobMBS.position(SearchString as JavaClobMBS, Start 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 character position at which the specified Clob object searchstr appears in this Clob object.

The search begins at position start.

SearchString: the Clob object for which to search
start: the position at which to begin searching; the first position is 1

Returns the position at which the Clob object appears or -1 if it is not present; the first position is 1

See also:

JavaClobMBS.position(SearchString as String, Start 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 character position at which the specified substring searchstr appears in the SQL CLOB value represented by this Clob object.

The search begins at position start.

searchstr: the substring for which to search
start: the position at which to begin searching; the first position is 1

Returns the position at which the substring appears or -1 if it is not present; the first position is 1

See also:

JavaClobMBS.setString(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 Java String to the CLOB value that this Clob object designates at the position pos.

Position: the position at which to start writing to the CLOB value that this Clob object represents
Value: the string to be written to the CLOB value that this Clob designates

Returns the number of characters written

See also:

JavaClobMBS.setString(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 Length characters of Value, starting at character offset, to the CLOB value that this Clob represents.

Position: the position at which to start writing to this CLOB object
Value: the string to be written to the CLOB value that this Clob object represents
Offset: the offset into str to start reading the characters to be written
Length: the number of characters to be written

Returns the number of characters written

See also:

JavaClobMBS.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 CLOB value that this Clob designates to have a length of len characters.

len: the length, in bytes, to which the CLOB value should be truncated

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


The biggest plugin in space...