public class FlushedScanHandle extends java.lang.Object implements ScanHandle
| Modifier and Type | Field and Description |
|---|---|
(package private) StreamLogScan |
fs |
(package private) int |
groupsIWant |
(package private) LogFactory |
lf |
(package private) LogRecord |
lr |
(package private) ArrayInputStream |
rawInput |
(package private) boolean |
readOptionalData |
| Constructor and Description |
|---|
FlushedScanHandle(LogToFile lf,
DatabaseInstant start,
int groupsIWant) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this scan.
|
int |
getGroup()
Get the group for the current log record.
|
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.
|
LogFactory lf
StreamLogScan fs
LogRecord lr
boolean readOptionalData
int groupsIWant
ArrayInputStream rawInput
FlushedScanHandle(LogToFile lf, DatabaseInstant start, int groupsIWant) throws StandardException
StandardExceptionpublic boolean next()
throws StandardException
ScanHandlenext in interface ScanHandleStandardException - Oopspublic int getGroup()
throws StandardException
getGroup in interface ScanHandleStandardException - Oopspublic Loggable getLoggable() throws StandardException
getLoggable in interface ScanHandleStandardException - Oopspublic java.io.InputStream getOptionalData()
throws StandardException
ScanHandlegetOptionalData in interface ScanHandleStandardException - Oopspublic DatabaseInstant getInstant() throws StandardException
ScanHandlegetInstant in interface ScanHandleStandardException - Oopspublic java.lang.Object getTransactionId()
throws StandardException
ScanHandlegetTransactionId in interface ScanHandleStandardException - Oopspublic void close()
ScanHandleclose in interface ScanHandleApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.