Package org.hibernate.sql.results.spi
Class ListResultsConsumer<R>
java.lang.Object
org.hibernate.sql.results.spi.ListResultsConsumer<R>
- All Implemented Interfaces:
ResultsConsumer<List<R>,R>
ResultsConsumer for creating a List of results
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWays this consumer can handle in-memory row de-duplication -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconsume(JdbcValues jdbcValues, SharedSessionContractImplementor session, JdbcValuesSourceProcessingOptions processingOptions, JdbcValuesSourceProcessingStateStandardImpl jdbcValuesSourceProcessingState, RowProcessingStateStandardImpl rowProcessingState, RowReader<R> rowReader) static <R> ListResultsConsumer<R>instance(ListResultsConsumer.UniqueSemantic uniqueSemantic) toString()
-
Constructor Details
-
ListResultsConsumer
-
-
Method Details
-
instance
public static <R> ListResultsConsumer<R> instance(ListResultsConsumer.UniqueSemantic uniqueSemantic) -
canResultsBeCached
public boolean canResultsBeCached()- Specified by:
canResultsBeCachedin interfaceResultsConsumer<List<R>,R>
-
toString
-