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
Fields Modifier and Type Field Description static ScrollableResultsConsumer
INSTANCE
Singleton access to the standard scrollable-results consumer instance
-
Constructor Summary
Constructors Constructor Description ScrollableResultsConsumer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canResultsBeCached()
ScrollableResultsImplementor<R>
consume(JdbcValues jdbcValues, SharedSessionContractImplementor session, JdbcValuesSourceProcessingOptions processingOptions, JdbcValuesSourceProcessingStateStandardImpl jdbcValuesSourceProcessingState, RowProcessingStateStandardImpl rowProcessingState, RowReader<R> rowReader)
static <R> ScrollableResultsConsumer<R>
instance()
-
-
-
Field Detail
-
INSTANCE
public static final ScrollableResultsConsumer INSTANCE
Singleton access to the standard scrollable-results consumer instance
-
-
Method Detail
-
instance
public static <R> ScrollableResultsConsumer<R> instance()
-
consume
public ScrollableResultsImplementor<R> consume(JdbcValues jdbcValues, SharedSessionContractImplementor session, JdbcValuesSourceProcessingOptions processingOptions, JdbcValuesSourceProcessingStateStandardImpl jdbcValuesSourceProcessingState, RowProcessingStateStandardImpl rowProcessingState, RowReader<R> rowReader)
- Specified by:
consume
in interfaceResultsConsumer<ScrollableResultsImplementor<R>,R>
-
canResultsBeCached
public boolean canResultsBeCached()
- Specified by:
canResultsBeCached
in interfaceResultsConsumer<ScrollableResultsImplementor<R>,R>
-
-