Class StandardRowReader<T>
- java.lang.Object
-
- org.hibernate.sql.results.internal.StandardRowReader<T>
-
-
Constructor Summary
Constructors Constructor Description StandardRowReader(List<DomainResultAssembler<?>> resultAssemblers, List<Initializer> initializers, RowTransformer<T> rowTransformer, Class<T> domainResultJavaType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finishUp(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()
The initializers associated with this reader.Class<?>
getResultJavaType()
The row result Java type, before any transformations.List<JavaType<?>>
getResultJavaTypes()
The individual JavaType for each DomainResultprotected void
logDebugInfo()
T
readRow(RowProcessingState rowProcessingState, JdbcValuesSourceProcessingOptions options)
The actual coordination of reading a rowRowReaderMemento
toMemento(SessionFactoryImplementor factory)
-
-
-
Constructor Detail
-
StandardRowReader
public StandardRowReader(List<DomainResultAssembler<?>> resultAssemblers, List<Initializer> initializers, RowTransformer<T> rowTransformer, Class<T> domainResultJavaType)
-
-
Method Detail
-
logDebugInfo
protected void logDebugInfo()
-
getDomainResultResultJavaType
public Class<T> getDomainResultResultJavaType()
Description copied from interface:RowReader
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. May be null to indicate that no transformation is applied. Ultimately intended for use in comparing values are being de-duplicated- Specified by:
getDomainResultResultJavaType
in interfaceRowReader<T>
-
getResultJavaType
public Class<?> getResultJavaType()
Description copied from interface:RowReader
The row result Java type, before any transformations.- Specified by:
getResultJavaType
in interfaceRowReader<T>
-
getResultJavaTypes
public List<JavaType<?>> getResultJavaTypes()
Description copied from interface:RowReader
The individual JavaType for each DomainResult- Specified by:
getResultJavaTypes
in interfaceRowReader<T>
-
getInitializers
public List<Initializer> getInitializers()
Description copied from interface:RowReader
The initializers associated with this reader.- Specified by:
getInitializers
in interfaceRowReader<T>
- See Also:
DomainResult
-
readRow
public T readRow(RowProcessingState rowProcessingState, JdbcValuesSourceProcessingOptions options)
Description copied from interface:RowReader
The actual coordination of reading a row
-
finishUp
public void finishUp(JdbcValuesSourceProcessingState processingState)
Description copied from interface:RowReader
Called at the end of processing all rows
-
toMemento
public RowReaderMemento toMemento(SessionFactoryImplementor factory)
-
-