Package org.teiid.dqp.internal.process
Class TupleSourceCache.CopyOnReadTupleSource
- java.lang.Object
-
- org.teiid.dqp.internal.process.TupleSourceCache.CopyOnReadTupleSource
-
- All Implemented Interfaces:
TupleSource
- Enclosing class:
- TupleSourceCache
public abstract static class TupleSourceCache.CopyOnReadTupleSource extends Object implements TupleSource
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CopyOnReadTupleSource(TupleBuffer tb, TupleSource ts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<?>
nextTuple()
Returns the next tuple-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.teiid.common.buffer.TupleSource
closeSource
-
-
-
-
Constructor Detail
-
CopyOnReadTupleSource
protected CopyOnReadTupleSource(TupleBuffer tb, TupleSource ts)
-
-
Method Detail
-
nextTuple
public List<?> nextTuple() throws TeiidComponentException, TeiidProcessingException
Description copied from interface:TupleSource
Returns the next tuple- Specified by:
nextTuple
in interfaceTupleSource
- Returns:
- the next tuple (a List object), or
null
if there are no more tuples. - Throws:
TeiidComponentException
- indicating a non-business exception such as a communication exception, or other such nondeterministic exceptionTeiidProcessingException
-
-