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 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()
Deprecated.InitializersList
getInitializersList()
The initializers associated with this reader.Class<?>
getResultJavaType()
The row result Java type, before any transformations.List<JavaType<?>>
getResultJavaTypes()
The individual JavaType for each DomainResultT
readRow(RowProcessingState rowProcessingState, JdbcValuesSourceProcessingOptions options)
The actual coordination of reading a rowRowReaderMemento
toMemento(SessionFactoryImplementor factory)
Not used - to be removed?
-
-
-
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: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
@Deprecated public List<Initializer> getInitializers()
Deprecated.Description copied from interface:RowReader
The initializers associated with this reader.- Specified by:
getInitializers
in interfaceRowReader<T>
- See Also:
DomainResult
-
getInitializersList
public InitializersList getInitializersList()
Description copied from interface:RowReader
The initializers associated with this reader.- Specified by:
getInitializersList
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)
Description copied from interface:RowReader
Not used - to be removed?
-
-