|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimpledb.log.BasicLogRecord
public class BasicLogRecord
A class that provides the ability to read the values of
a log record.
The class has no idea what values are there.
Instead, the methods nextInt
and nextString
read the values
sequentially.
Thus the client is responsible for knowing how many values
are in the log record, and what their types are.
Constructor Summary | |
---|---|
BasicLogRecord(Page pg,
int pos)
A log record located at the specified position of the specified page. |
Method Summary | |
---|---|
int |
nextInt()
Returns the next value of the current log record, assuming it is an integer. |
String |
nextString()
Returns the next value of the current log record, assuming it is a string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicLogRecord(Page pg, int pos)
LogIterator.next()
.
pg
- the page containing the log recordpos
- the position of the log recordMethod Detail |
---|
public int nextInt()
public String nextString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |