public class OutputsImpl extends Object implements Outputs
Modifier and Type | Class and Description |
---|---|
protected class |
OutputsImpl.CurrentReturnState
Encapsulates the information needed to interpret the current return within a result
|
Constructor and Description |
---|
OutputsImpl(ResultContext context,
PreparedStatement jdbcStatement) |
Modifier and Type | Method and Description |
---|---|
protected OutputsImpl.CurrentReturnState |
buildCurrentReturnState(boolean isResultSet,
int updateCount) |
protected JDBCException |
convert(SQLException e,
String message) |
protected List |
extractResults(ResultSet resultSet) |
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
Outputs.getCurrent() return null ? |
void |
release()
Eagerly release any resources held by this Outputs.
|
public OutputsImpl(ResultContext context, PreparedStatement jdbcStatement)
protected OutputsImpl.CurrentReturnState buildCurrentReturnState(boolean isResultSet, int updateCount)
protected JDBCException convert(SQLException e, String message)
public Output getCurrent()
Outputs
getCurrent
in interface Outputs
null
public boolean goToNext()
Outputs
Outputs.getCurrent()
return null
?goToNext
in interface Outputs
true
if the next call to Outputs.getCurrent()
will return a non-null
value.public void release()
Outputs
Copyright © 2017 JBoss by Red Hat. All rights reserved.