|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines methods for highly efficient update of image (and, in some cases, text) columns. When used with a text column, the data is streamed directly to the server without conversion. Therefore, the binary data must be the correct representation of the desired text in the database's default character set.
Method Summary | |
void |
sendData(byte[] byteInput,
int offset,
int length,
boolean log)
Sends image (or, with special provisos, text) data to the server from a byte array, specifying the offset and length. |
void |
sendData(InputStream is,
boolean log)
Sends image (or, with special provisos, text) data to the server from an input stream. |
void |
sendData(InputStream is,
int length,
boolean log)
Sends image (or, with special provisos, text) data to the server from an input stream, specifying the length. |
void |
sendData(InputStream is,
int offset,
int length,
boolean log)
Sends image (or, with special provisos, text) data to the server from an input stream, specifying the offset and length. |
Method Detail |
public void sendData(InputStream is, boolean log) throws SQLException
ResultSet.setXXXStream
.
When this method is used with a text column, the data
is streamed directly to the server without conversion.
Therefore, the binary data must be the correct representation
of the desired text in the database's default character set.is
- the stream from which data is to be sentlog
- public void sendData(InputStream is, int length, boolean log) throws SQLException
ResultSet.setXXXStream
.
When this method is used with a text column, the data
is streamed directly to the server without conversion.
Therefore, the binary data must be the correct representation
of the desired text in the database's default character set.is
- the stream from which data is to be sentlength
- the number of bytes(?) to sendlog
- public void sendData(InputStream is, int offset, int length, boolean log) throws SQLException
ResultSet.setXXXStream
.
When this method is used with a text column, the data
is streamed directly to the server without conversion.
Therefore, the binary data must be the correct representation
of the desired text in the database's default character set.is
- the stream from which data is to be sentoffset
- the offset in the stream from which to start sending(?)length
- the number of bytes(?) to sendlog
- public void sendData(byte[] byteInput, int offset, int length, boolean log) throws SQLException
ResultSet.setBytes
.
When this method is used with a text column, the data
is streamed directly to the server without conversion.
Therefore, the binary data must be the correct representation
of the desired text in the database's default character set.byteInput
- the array from which data is to be sentoffset
- the offset in the array from which to start sending(?)length
- the number of bytes(?) to sendlog
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |