Package org.apache.derby.iapi.types
Interface Resetable
- All Known Implementing Classes:
FormatIdInputStream
,OverflowInputStream
,PositionedStoreStream
public interface Resetable
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 TypeMethodDescriptionvoid
Close.void
Initialize.void
Reset the stream to the beginning.
-
Method Details
-
resetStream
Reset the stream to the beginning.- Throws:
IOException
StandardException
-
initStream
Initialize. Needs to be called first, before a resetable stream can be used.- Throws:
StandardException
-
closeStream
void closeStream()Close. Free resources (such as open containers and locks) associated with the stream.
-