Position in the data stream

The getCurrentPosition() method retrieves the current position in the input stream. The setCurrentPosition() method changes the position in the input stream to the position specified by the position parameter:
public int getCurrentPosition();
public void setCurrentPosition(int position) throws SQLException;
public void skipBytes(int len) throws SQLException;

The position parameter must be a positive integer. The skipBytes() method changes the position in the input stream by the number of bytes specified by the len parameter, relative to the current position. The len parameter must be a positive integer.

In both setCurrentPosition() and skipBytes(), HCL OneDB™ JDBC Driver generates an SQLException if the new position specified is after the end of the input stream.