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
 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.


Built on Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.