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 Deprecated 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()Deprecated.InitializersListgetInitializersList()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)Deprecated.to be removed
-
-
-
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.- API Note:
- along with
getResultJavaTypes(), describes the "raw" values as determined from theDomainResultreferences associated with the JdbcValues being processed
-
getResultJavaTypes
List<JavaType<?>> getResultJavaTypes()
The individual JavaType for each DomainResult
-
getInitializers
@Deprecated List<Initializer> getInitializers()
Deprecated.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
@Deprecated RowReaderMemento toMemento(SessionFactoryImplementor factory)
Deprecated.to be removedNot used - to be removed?
-
getInitializersList
InitializersList getInitializersList()
The initializers associated with this reader.- See Also:
DomainResult
-
-