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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfinishUp(JdbcValuesSourceProcessingState context)Called at the end of processing all rowsClass<R>getDomainResultResultJavaType()The type actually returned from this reader'sreadRow(org.hibernate.sql.results.jdbc.spi.RowProcessingState, org.hibernate.sql.results.jdbc.spi.JdbcValuesSourceProcessingOptions)call, accounting for any transformers.List<Initializer>getInitializers()The initializers associated with this reader.Class<?>getResultJavaType()The row result Java type, before any transformations.List<JavaType<?>>getResultJavaTypes()The individual JavaType for each DomainResultRreadRow(RowProcessingState processingState, JdbcValuesSourceProcessingOptions options)The actual coordination of reading a rowRowReaderMementotoMemento(SessionFactoryImplementor factory)
-
-
-
Method Detail
-
getDomainResultResultJavaType
Class<R> getDomainResultResultJavaType()
The type actually returned from this reader'sreadRow(org.hibernate.sql.results.jdbc.spi.RowProcessingState, org.hibernate.sql.results.jdbc.spi.JdbcValuesSourceProcessingOptions)call, accounting for any transformers.May be null to indicate that no transformation is applied.
Ultimately intended for use in comparing values are being de-duplicated
-
getResultJavaType
Class<?> getResultJavaType()
The row result Java type, before any transformations.
-
getResultJavaTypes
List<JavaType<?>> getResultJavaTypes()
The individual JavaType for each DomainResult
-
getInitializers
List<Initializer> getInitializers()
The initializers associated with this reader.- See Also:
DomainResult
-
readRow
R readRow(RowProcessingState processingState, JdbcValuesSourceProcessingOptions options)
The actual coordination of reading a row
-
finishUp
void finishUp(JdbcValuesSourceProcessingState context)
Called at the end of processing all rows
-
toMemento
RowReaderMemento toMemento(SessionFactoryImplementor factory)
-
-