public interface StreamResults extends Serializable, Closeable
Modifier and Type | Method and Description |
---|---|
void |
close()
Releases the often significant resources required to provide access to the query result set.
|
Object |
get()
Retrieves the current row, which depending on the query executed could be anything from a
PersistedObject to
a map of (field,value) pairs to a single primitive value. |
boolean |
next()
Moves the cursor forward one row from its current position.
|
boolean next()
next
makes the first row the current row;
the second call makes the second row the current row, and so on.true
if the new current row is valid; false
if there are no more rows.Object get()
PersistedObject
to
a map of (field,value) pairs to a single primitive value.void close()
close
in interface AutoCloseable
close
in interface Closeable
Copyright © 2019. All rights reserved.