Package org.hibernate.sql.results.spi
Class ManagedResultConsumer
- java.lang.Object
-
- org.hibernate.sql.results.spi.ManagedResultConsumer
-
- All Implemented Interfaces:
ResultsConsumer<Void,Object>
@Incubating public class ManagedResultConsumer extends Object implements ResultsConsumer<Void,Object>
Reads rows without producing a result.- Since:
- 6.6
-
-
Field Summary
Fields Modifier and Type Field Description static ManagedResultConsumer
INSTANCE
-
Constructor Summary
Constructors Constructor Description ManagedResultConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canResultsBeCached()
Void
consume(JdbcValues jdbcValues, SharedSessionContractImplementor session, JdbcValuesSourceProcessingOptions processingOptions, JdbcValuesSourceProcessingStateStandardImpl jdbcValuesSourceProcessingState, RowProcessingStateStandardImpl rowProcessingState, RowReader<Object> rowReader)
-
-
-
Field Detail
-
INSTANCE
public static final ManagedResultConsumer INSTANCE
-
-
Method Detail
-
consume
public Void consume(JdbcValues jdbcValues, SharedSessionContractImplementor session, JdbcValuesSourceProcessingOptions processingOptions, JdbcValuesSourceProcessingStateStandardImpl jdbcValuesSourceProcessingState, RowProcessingStateStandardImpl rowProcessingState, RowReader<Object> rowReader)
- Specified by:
consume
in interfaceResultsConsumer<Void,Object>
-
canResultsBeCached
public boolean canResultsBeCached()
- Specified by:
canResultsBeCached
in interfaceResultsConsumer<Void,Object>
-
-