Class StandardRowReader<T>
- java.lang.Object
-
- org.hibernate.sql.results.internal.StandardRowReader<T>
-
-
Constructor Summary
Constructors Constructor Description StandardRowReader(List<DomainResultAssembler<?>> resultAssemblers, InitializersList initializers, RowTransformer<T> rowTransformer, Class<T> domainResultJavaType)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidfinishUp(JdbcValuesSourceProcessingState processingState)Called at the end of processing all rowsClass<T>getDomainResultResultJavaType()The type actually returned from this reader'sRowReader.readRow(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 DomainResultTreadRow(RowProcessingState rowProcessingState, JdbcValuesSourceProcessingOptions options)The actual coordination of reading a row
-
-
-
Constructor Detail
-
StandardRowReader
public StandardRowReader(List<DomainResultAssembler<?>> resultAssemblers, InitializersList initializers, RowTransformer<T> rowTransformer, Class<T> domainResultJavaType)
-
-
Method Detail
-
getDomainResultResultJavaType
public Class<T> getDomainResultResultJavaType()
Description copied from interface:RowReaderThe type actually returned from this reader'sRowReader.readRow(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
- Specified by:
getDomainResultResultJavaTypein interfaceRowReader<T>
-
getResultJavaType
public Class<?> getResultJavaType()
Description copied from interface:RowReaderThe row result Java type, before any transformations.- Specified by:
getResultJavaTypein interfaceRowReader<T>
-
getResultJavaTypes
public List<JavaType<?>> getResultJavaTypes()
Description copied from interface:RowReaderThe individual JavaType for each DomainResult- Specified by:
getResultJavaTypesin interfaceRowReader<T>
-
getInitializers
@Deprecated public List<Initializer> getInitializers()
Deprecated.Description copied from interface:RowReaderThe initializers associated with this reader.- Specified by:
getInitializersin interfaceRowReader<T>- See Also:
DomainResult
-
getInitializersList
public InitializersList getInitializersList()
Description copied from interface:RowReaderThe initializers associated with this reader.- Specified by:
getInitializersListin interfaceRowReader<T>- See Also:
DomainResult
-
readRow
public T readRow(RowProcessingState rowProcessingState, JdbcValuesSourceProcessingOptions options)
Description copied from interface:RowReaderThe actual coordination of reading a row
-
finishUp
public void finishUp(JdbcValuesSourceProcessingState processingState)
Description copied from interface:RowReaderCalled at the end of processing all rows
-
-