Package org.hibernate.sql.results.spi
Interface ResultsConsumer<T,R>
-
- All Known Implementing Classes:
ListResultsConsumer
,ManagedResultConsumer
,ScrollableResultsConsumer
,SingleResultConsumer
public interface ResultsConsumer<T,R>
ConsumesJdbcValues
and returns the consumed values in whatever form this consumer returns, generally aList
or aScrollableResults
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canResultsBeCached()
T
consume(JdbcValues jdbcValues, SharedSessionContractImplementor session, JdbcValuesSourceProcessingOptions processingOptions, JdbcValuesSourceProcessingStateStandardImpl jdbcValuesSourceProcessingState, RowProcessingStateStandardImpl rowProcessingState, RowReader<R> rowReader)
-
-
-
Method Detail
-
consume
T consume(JdbcValues jdbcValues, SharedSessionContractImplementor session, JdbcValuesSourceProcessingOptions processingOptions, JdbcValuesSourceProcessingStateStandardImpl jdbcValuesSourceProcessingState, RowProcessingStateStandardImpl rowProcessingState, RowReader<R> rowReader)
-
canResultsBeCached
boolean canResultsBeCached()
-
-