hasMoreElements

mark

public void mark(int readAheadLimit)

Mark the present position in the stream.
Subsequent calls to reset() will attempt to reposition the stream to this point.

Parameters:

readAheadLimit - Limit on the number of characters that may be
read while still preserving the mark. Because
the stream's input comes from the database, there
is no actual limit, so this argument is ignored.

markSupported

public boolean markSupported()

Tests if this input stream supports the mark
and reset methods. The markSupported
method of InputStream returns false.

nextElement

public java.lang.Object nextElement()

Return the next object from the collection, if beyond the read limit read from the cursor.

Returns:

the next object in stream

nextElements

public java.util.Vector nextElements(int numberOfElements)

Return a Vector of at most numberOfElements of the next objects from the collection. If there
aren't that many objects left to read, just return what is available.

read

This method differs slightly from conventinal read() operation on a Java stream. This
method return the next object in the collection rather than specifying the number of
bytes to be read in.
Return the next object from the collection, if beyond the read limit read from the cursor

read

This method differs slightly from conventinal read() operation on a Java stream. This
method returns the next number of objects in the collection in a vector.
Return the next object from the collection, if beyond the read limit read from the cursor