Package org.yamcs.yarch.streamsql
Class StreamSqlResultList
- java.lang.Object
-
- org.yamcs.yarch.streamsql.StreamSqlResultList
-
- All Implemented Interfaces:
Iterator<Tuple>
,StreamSqlResult
public class StreamSqlResultList extends Object implements StreamSqlResult
StreamSqlResult which stores a list of results
-
-
Constructor Summary
Constructors Constructor Description StreamSqlResultList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTuple(Tuple t)
void
close()
Close the associated resourcesboolean
hasNext()
Tuple
next()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Method Detail
-
addTuple
public void addTuple(Tuple t)
-
close
public void close()
Description copied from interface:StreamSqlResult
Close the associated resources- Specified by:
close
in interfaceStreamSqlResult
-
-