Package org.apache.derby.iapi.types
Interface Resetable
-
- All Known Implementing Classes:
FormatIdInputStream,OverflowInputStream,PositionedStoreStream
public interface ResetableThis 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 voidcloseStream()Close.voidinitStream()Initialize.voidresetStream()Reset the stream to the beginning.
-
-
-
Method Detail
-
resetStream
void resetStream() throws java.io.IOException, StandardExceptionReset the stream to the beginning.- Throws:
java.io.IOExceptionStandardException
-
initStream
void initStream() throws StandardExceptionInitialize. 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.
-
-