public interface IndexedTupleSource extends TupleSource
| Modifier and Type | Method and Description |
|---|---|
long |
getCurrentIndex()
Get the current position.
|
boolean |
hasNext() |
void |
mark()
Save the current position that can be restored with a call to
reset() |
void |
reset()
Restore the previous mark and set the mark back to the first position.
|
void |
setPosition(long position)
Set the tuple source position
|
closeSource, nextTupleboolean hasNext()
throws TeiidComponentException,
TeiidProcessingException
TeiidComponentExceptionTeiidProcessingExceptionvoid mark() throws TeiidComponentException
reset()TeiidComponentExceptionvoid reset()
void setPosition(long position)
position - long getCurrentIndex()
TupleSource.nextTuple()Copyright © 2020. All rights reserved.