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 enum
Ways this consumer can handle in-memory row de-duplication -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
consume
(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:
canResultsBeCached
in interfaceResultsConsumer<List<R>,
R>
-
toString
-