public interface Outputs
Represents the outputs of executing a JDBC statement accounting for mixing of result sets and update counts
hiding the complexity (IMO) of how this is exposed in the JDBC API.
<p/>
The outputs are exposed as a group of Output
objects, each representing a single result set or update count.
Conceptually, Result presents those Returns as an iterator.
Modifier and Type | Method and Description |
---|---|
Output |
getCurrent()
Retrieve the current Output object.
|
boolean |
goToNext()
Go to the next Output object (if any), returning an indication of whether there was another (aka, will
the next call to
getCurrent() return null ? |
void |
release()
Eagerly release any resources held by this Outputs.
|
Output getCurrent()
Retrieve the current Output object.
null
boolean goToNext()
Go to the next Output object (if any), returning an indication of whether there was another (aka, will
the next call to getCurrent()
return null
?
true
if the next call to getCurrent()
will return a non-null
value.void release()
Eagerly release any resources held by this Outputs.
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.