Package org.hibernate.sql.results.spi
Class ScrollableResultsConsumer<R>
java.lang.Object
org.hibernate.sql.results.spi.ScrollableResultsConsumer<R>
- All Implemented Interfaces:
ResultsConsumer<ScrollableResultsImplementor<R>,
R>
public class ScrollableResultsConsumer<R>
extends Object
implements ResultsConsumer<ScrollableResultsImplementor<R>,R>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ScrollableResultsConsumer
Singleton access to the standard scrollable-results consumer instance -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
consume
(JdbcValues jdbcValues, SharedSessionContractImplementor session, JdbcValuesSourceProcessingOptions processingOptions, JdbcValuesSourceProcessingStateStandardImpl jdbcValuesSourceProcessingState, RowProcessingStateStandardImpl rowProcessingState, RowReader<R> rowReader) static <R> ScrollableResultsConsumer<R>
instance()
-
Field Details
-
INSTANCE
Singleton access to the standard scrollable-results consumer instance
-
-
Constructor Details
-
ScrollableResultsConsumer
public ScrollableResultsConsumer()
-
-
Method Details
-
instance
-
canResultsBeCached
public boolean canResultsBeCached()- Specified by:
canResultsBeCached
in interfaceResultsConsumer<ScrollableResultsImplementor<R>,
R>
-