Top Description Methods
org.apache.derby.iapi.types

public Interface Resetable

Known Direct Implementers
org.apache.derby.impl.store.raw.data.OverflowInputStream, org.apache.derby.impl.jdbc.PositionedStoreStream, org.apache.derby.iapi.services.io.FormatIdInputStream
Imports
org.apache.derby.shared.common.error.StandardException, java.io.IOException

This is a simple interface that is used by streams that can initialize and reset themselves. The purpose is for the implementation of BLOB/CLOB. It defines a methods that can be used to initialize and reset a stream.

Method Summary

Modifier and TypeMethod and Description
public void
closeStream()

Close.

public void
initStream()

Initialize.

public void
resetStream()

Reset the stream to the beginning.

Method Detail

closeStreamback to summary
public void closeStream()

Close. Free resources (such as open containers and locks) associated with the stream.

initStreamback to summary
public void initStream() throws StandardException

Initialize. Needs to be called first, before a resetable stream can be used.

Exceptions
StandardException:
on error
resetStreamback to summary
public void resetStream() throws IOException, StandardException

Reset the stream to the beginning.

Exceptions
IOException:
on error
StandardException:
on error