Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.iapi.store.raw
Interface ScanHandle  view ScanHandle download ScanHandle.java


public interface ScanHandle

Inteface for scanning the log from outside the RawStore.


Method Summary
 void close()
          Close this scan.
 int getGroup()
          Get the group for the current log record.
 org.apache.derby.iapi.store.access.DatabaseInstant getInstant()
          Get the DatabaseInstant for the current log record.
 Loggable getLoggable()
          Get the Loggable associated with the currentLogRecord
 java.io.InputStream getOptionalData()
          Get an InputStream for reading the optional data associated with the current log record.
 java.lang.Object getTransactionId()
          Get the TransactionId for the current log record.
 boolean next()
          Position to the next log record.
 

Method Detail

next

public boolean next()
             throws org.apache.derby.iapi.error.StandardException
Position to the next log record.


getGroup

public int getGroup()
             throws org.apache.derby.iapi.error.StandardException
Get the group for the current log record.


getLoggable

public Loggable getLoggable()
                     throws org.apache.derby.iapi.error.StandardException
Get the Loggable associated with the currentLogRecord


getOptionalData

public java.io.InputStream getOptionalData()
                                    throws org.apache.derby.iapi.error.StandardException
Get an InputStream for reading the optional data associated with the current log record. This may only be called once per log record.


getInstant

public org.apache.derby.iapi.store.access.DatabaseInstant getInstant()
                                                              throws org.apache.derby.iapi.error.StandardException
Get the DatabaseInstant for the current log record.


getTransactionId

public java.lang.Object getTransactionId()
                                  throws org.apache.derby.iapi.error.StandardException
Get the TransactionId for the current log record.


close

public void close()
Close this scan.