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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
closeStream()
Close.void
initStream()
Initialize.void
resetStream()
Reset the stream to the beginning.
-
-
-
Method Detail
-
resetStream
void resetStream() throws java.io.IOException, StandardException
Reset the stream to the beginning.- Throws:
java.io.IOException
StandardException
-
initStream
void initStream() throws StandardException
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.
-
-