Package org.hibernate.sql.results.spi
Interface ResultsConsumer<T,R>
- All Known Implementing Classes:
ListResultsConsumer
,ManagedResultConsumer
,ScrollableResultsConsumer
,SingleResultConsumer
public interface ResultsConsumer<T,R>
Consumes
JdbcValues
and returns the consumed values in whatever form this
consumer returns, generally a List
or a ScrollableResults
-
Method Summary
Modifier and TypeMethodDescriptionboolean
consume
(JdbcValues jdbcValues, SharedSessionContractImplementor session, JdbcValuesSourceProcessingOptions processingOptions, JdbcValuesSourceProcessingStateStandardImpl jdbcValuesSourceProcessingState, RowProcessingStateStandardImpl rowProcessingState, RowReader<R> rowReader)
-
Method Details
-
canResultsBeCached
boolean canResultsBeCached()