public interface SnapshotResult
extends java.io.Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
closes any resource associated with the snapshot result
|
java.util.List<Schema.Field> |
getFields()
Retrieves the fields describing the tuples that will be returned.
|
boolean |
hasNext()
See if there are more tuples to retrieve.
|
Tuple |
next()
Retrieves the next tuple in the result.
|
boolean hasNext()
throws LiveViewException
LiveViewExceptionTuple next() throws LiveViewException, java.util.NoSuchElementException
LiveViewException - if exception occurs on the Queryjava.util.NoSuchElementException - if no more tuples exist to retrievejava.util.List<Schema.Field> getFields() throws LiveViewException
LiveViewException - if exception occurs on the Queryvoid close()
close in interface java.lang.AutoCloseableclose in interface java.io.Closeable