Class ReactiveListResultsConsumer<R>
- java.lang.Object
-
- org.hibernate.reactive.sql.results.spi.ReactiveListResultsConsumer<R>
-
- All Implemented Interfaces:
ReactiveResultsConsumer<List<R>,R>
public class ReactiveListResultsConsumer<R> extends Object implements ReactiveResultsConsumer<List<R>,R>
- See Also:
ListResultsConsumer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReactiveListResultsConsumer.UniqueSemantic
Ways this consumer can handle in-memory row de-duplication
-
Constructor Summary
Constructors Constructor Description ReactiveListResultsConsumer(ReactiveListResultsConsumer.UniqueSemantic uniqueSemantic)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canResultsBeCached()
CompletionStage<List<R>>
consume(ReactiveValuesResultSet jdbcValues, SharedSessionContractImplementor session, JdbcValuesSourceProcessingOptions processingOptions, JdbcValuesSourceProcessingStateStandardImpl jdbcValuesSourceProcessingState, ReactiveRowProcessingState rowProcessingState, ReactiveRowReader<R> rowReader)
static <R> ReactiveListResultsConsumer<R>
instance(ReactiveListResultsConsumer.UniqueSemantic uniqueSemantic)
String
toString()
-
-
-
Constructor Detail
-
ReactiveListResultsConsumer
public ReactiveListResultsConsumer(ReactiveListResultsConsumer.UniqueSemantic uniqueSemantic)
-
-
Method Detail
-
consume
public CompletionStage<List<R>> consume(ReactiveValuesResultSet jdbcValues, SharedSessionContractImplementor session, JdbcValuesSourceProcessingOptions processingOptions, JdbcValuesSourceProcessingStateStandardImpl jdbcValuesSourceProcessingState, ReactiveRowProcessingState rowProcessingState, ReactiveRowReader<R> rowReader)
- Specified by:
consume
in interfaceReactiveResultsConsumer<List<R>,R>
-
instance
public static <R> ReactiveListResultsConsumer<R> instance(ReactiveListResultsConsumer.UniqueSemantic uniqueSemantic)
-
canResultsBeCached
public boolean canResultsBeCached()
- Specified by:
canResultsBeCached
in interfaceReactiveResultsConsumer<List<R>,R>
-
-