Package org.hibernate.result
Interface Output
-
- All Known Subinterfaces:
ResultSetOutput
,UpdateCountOutput
public interface Output
Common contract for individual return objects which can be either results (ResultSetOutput
) or update counts (UpdateCountOutput
).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isResultSet()
Determine if this return is a result (castable toResultSetOutput
).
-
-
-
Method Detail
-
isResultSet
boolean isResultSet()
Determine if this return is a result (castable toResultSetOutput
). The alternative is that it is an update count (castable toUpdateCountOutput
).- Returns:
true
indicates thatthis
can be safely cast toResultSetOutput
), other wise it can be cast toUpdateCountOutput
.
-
-