Package org.hibernate.sql.results.spi
Interface RowReader<R>
- All Known Implementing Classes:
StandardRowReader
public interface RowReader<R>
Coordinates the process of reading a single result values row
-
Method Summary
Modifier and TypeMethodDescriptionvoid
finishUp
(RowProcessingState processingState) Called at the end of processing all rowsThe type actually returned from this reader'sreadRow(org.hibernate.sql.results.jdbc.spi.RowProcessingState)
call, accounting for any transformers.int
The individual JavaType for each DomainResultboolean
readRow
(RowProcessingState processingState) The actual coordination of reading a row@Nullable EntityKey
resolveSingleResultEntityKey
(RowProcessingState rowProcessingState) void
startLoading
(RowProcessingState processingState) Called before reading the first row.
-
Method Details
-
getDomainResultResultJavaType
The type actually returned from this reader'sreadRow(org.hibernate.sql.results.jdbc.spi.RowProcessingState)
call, accounting for any transformers.May be
null
to indicate that no transformation is applied.Ultimately intended for use in comparing values that are being de-duplicated
-
getResultJavaTypes
The individual JavaType for each DomainResult -
getInitializerCount
int getInitializerCount() -
startLoading
Called before reading the first row. -
readRow
The actual coordination of reading a row -
finishUp
Called at the end of processing all rows -
resolveSingleResultEntityKey
-
hasCollectionInitializers
boolean hasCollectionInitializers()
-