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
StandardException
public boolean next() throws StandardException
ScanHandle
next
in interface ScanHandle
StandardException
- Oopspublic int getGroup() throws StandardException
getGroup
in interface ScanHandle
StandardException
- Oopspublic Loggable getLoggable() throws StandardException
getLoggable
in interface ScanHandle
StandardException
- Oopspublic java.io.InputStream getOptionalData() throws StandardException
ScanHandle
getOptionalData
in interface ScanHandle
StandardException
- Oopspublic DatabaseInstant getInstant() throws StandardException
ScanHandle
getInstant
in interface ScanHandle
StandardException
- Oopspublic java.lang.Object getTransactionId() throws StandardException
ScanHandle
getTransactionId
in interface ScanHandle
StandardException
- Oopspublic void close()
ScanHandle
close
in interface ScanHandle
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.