public interface SnapshotResult extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
closes any resource associated with the snapshot result
|
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, NoSuchElementException
LiveViewException - if exception occurs on the QueryNoSuchElementException - if no more tuples exist to retrieveList<Schema.Field> getFields() throws LiveViewException
LiveViewException - if exception occurs on the Queryvoid close()
close in interface AutoCloseableclose in interface CloseableCopyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.