Class StandardRowReader<T>
java.lang.Object
org.hibernate.sql.results.internal.StandardRowReader<T>
- All Implemented Interfaces:
RowReader<T>
-
Constructor Summary
ConstructorsConstructorDescriptionStandardRowReader
(DomainResultAssembler<?>[] resultAssemblers, Initializer<?>[] resultInitializers, Initializer<?>[] initializers, Initializer<?>[] sortedForResolveInitializers, boolean hasCollectionInitializers, RowTransformer<T> rowTransformer, Class<T> domainResultJavaType) StandardRowReader
(JdbcValuesMappingResolution jdbcValuesMappingResolution, RowTransformer<T> rowTransformer, Class<T> domainResultJavaType) -
Method Summary
Modifier and TypeMethodDescriptionvoid
finishUp
(RowProcessingState rowProcessingState) Called at the end of processing all rowsThe type actually returned from this reader'sRowReader.readRow(org.hibernate.sql.results.jdbc.spi.RowProcessingState)
call, accounting for any transformers.int
The individual JavaType for each DomainResultboolean
readRow
(RowProcessingState rowProcessingState) The actual coordination of reading a row@Nullable EntityKey
resolveSingleResultEntityKey
(RowProcessingState rowProcessingState) void
startLoading
(RowProcessingState processingState) Called before reading the first row.
-
Constructor Details
-
StandardRowReader
public StandardRowReader(JdbcValuesMappingResolution jdbcValuesMappingResolution, RowTransformer<T> rowTransformer, Class<T> domainResultJavaType) -
StandardRowReader
public StandardRowReader(DomainResultAssembler<?>[] resultAssemblers, Initializer<?>[] resultInitializers, Initializer<?>[] initializers, Initializer<?>[] sortedForResolveInitializers, boolean hasCollectionInitializers, RowTransformer<T> rowTransformer, Class<T> domainResultJavaType)
-
-
Method Details
-
getDomainResultResultJavaType
Description copied from interface:RowReader
The type actually returned from this reader'sRowReader.readRow(org.hibernate.sql.results.jdbc.spi.RowProcessingState)
call, accounting for any transformers.May be
null
to indicate that no transformation is applied.Ultimately intended for use in comparing values that are being de-duplicated
- Specified by:
getDomainResultResultJavaType
in interfaceRowReader<T>
-
getResultJavaTypes
Description copied from interface:RowReader
The individual JavaType for each DomainResult- Specified by:
getResultJavaTypes
in interfaceRowReader<T>
-
getInitializerCount
public int getInitializerCount()- Specified by:
getInitializerCount
in interfaceRowReader<T>
-
resolveSingleResultEntityKey
- Specified by:
resolveSingleResultEntityKey
in interfaceRowReader<T>
-
hasCollectionInitializers
public boolean hasCollectionInitializers()- Specified by:
hasCollectionInitializers
in interfaceRowReader<T>
-
readRow
Description copied from interface:RowReader
The actual coordination of reading a row -
startLoading
Description copied from interface:RowReader
Called before reading the first row.- Specified by:
startLoading
in interfaceRowReader<T>
-
finishUp
Description copied from interface:RowReader
Called at the end of processing all rows
-