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, nextTuple
boolean hasNext() throws TeiidComponentException, TeiidProcessingException
TeiidComponentException
TeiidProcessingException
void mark() throws TeiidComponentException
reset()
TeiidComponentException
void reset()
void setPosition(long position)
position
- long getCurrentIndex()
TupleSource.nextTuple()
Copyright © 2020. All rights reserved.