Package org.hibernate.result.internal
Class OutputsImpl
java.lang.Object
org.hibernate.result.internal.OutputsImpl
- All Implemented Interfaces:
Outputs
- Direct Known Subclasses:
ProcedureOutputsImpl
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classEncapsulates the information needed to interpret the current return within a result -
Constructor Summary
ConstructorsConstructorDescriptionOutputsImpl(ResultContext context, PreparedStatement jdbcStatement, String sql) -
Method Summary
Modifier and TypeMethodDescriptionprotected OutputsImpl.CurrentReturnStatebuildCurrentReturnState(boolean isResultSet, int updateCount) protected JDBCExceptionconvert(SQLException e, String message) protected voidextractResults(ResultSet resultSet) Retrieve the current Output object.protected ResultContextbooleangoToNext()Go to the next Output object (if any), returning an indication of whether there was another (aka, will the next call toOutputs.getCurrent()returnnull?voidrelease()Eagerly release any resources held by this Outputs.
-
Constructor Details
-
OutputsImpl
-
-
Method Details
-
getResultContext
-
executeStatement
protected void executeStatement() -
buildCurrentReturnState
protected OutputsImpl.CurrentReturnState buildCurrentReturnState(boolean isResultSet, int updateCount) -
convert
-
getCurrent
Description copied from interface:OutputsRetrieve the current Output object.- Specified by:
getCurrentin interfaceOutputs- Returns:
- The current Output object. Can be
null
-
goToNext
public boolean goToNext()Description copied from interface:OutputsGo to the next Output object (if any), returning an indication of whether there was another (aka, will the next call toOutputs.getCurrent()returnnull?- Specified by:
goToNextin interfaceOutputs- Returns:
trueif the next call toOutputs.getCurrent()will return a non-nullvalue.
-
release
public void release()Description copied from interface:OutputsEagerly release any resources held by this Outputs. -
extractResults
-