public interface Result
Return
objects, each representing a single result set or update count.
Conceptually, Result presents those Returns as an iterator.Modifier and Type | Method and Description |
---|---|
Return |
getNextReturn()
Retrieve the next return.
|
boolean |
hasMoreReturns()
Are there any more returns associated with this result?
|
boolean hasMoreReturns()
true
means there are more returns available via getNextReturn()
; false
indicates that calling getNextReturn()
will certainly result in an exception.Return getNextReturn() throws NoMoreReturnsException
NoMoreReturnsException
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.