|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorc.trace.BackwardEventCursor
public class BackwardEventCursor
Wrap a cursor to provide strong backward references. This is likely to waste memory but is the only way to allow arbitrary bidirectional queries.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface orc.trace.EventCursor |
|---|
EventCursor.EndOfStream |
| Constructor Summary | |
|---|---|
BackwardEventCursor(EventCursor cursor)
|
|
| Method Summary | |
|---|---|
BackwardEventCursor |
backward()
Return a cursor to the previous event in the stream. |
Event |
current()
Return the current event in the stream. |
BackwardEventCursor |
forward()
Return a cursor to the next event in the stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BackwardEventCursor(EventCursor cursor)
| Method Detail |
|---|
public Event current()
EventCursor
current in interface EventCursor
public BackwardEventCursor forward()
throws EventCursor.EndOfStream
EventCursor
forward in interface EventCursorEventCursor.EndOfStream
public BackwardEventCursor backward()
throws EventCursor.EndOfStream
EventCursor
backward in interface EventCursorEventCursor.EndOfStream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||