SQLServerBlob Members

The following tables list the members that are exposed by the SQLServerBlob class.

Constructors

Name Description

SQLServerBlob

Initializes a new instance of the SQLServerBlob class.

Fields

None.

Inherited Fields

None.

Methods

Name Description

getBinaryStream

Returns an input stream to read data from the BLOB.

getBytes

Gets the BLOB data as an array of bytes.

length

Returns the number of bytes in the BLOB object.

position

Returns the position of a specified pattern in the BLOB based on the given pattern and the starting index.

setBinaryStream

Retrieves a stream that can be used to write to the BLOB value.

setBytes

Writes the given array of bytes into the BLOB starting at the given position, and then returns the number of bytes written.

truncate

Truncates a BLOB given the length.

Inherited Methods

Class inherited from: Methods

java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait

See Also

Reference

SQLServerBlob Class