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 TypeMethodDescriptionvoidfinishUp(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.intThe individual JavaType for each DomainResultbooleanreadRow(RowProcessingState rowProcessingState) The actual coordination of reading a row@Nullable EntityKeyresolveSingleResultEntityKey(RowProcessingState rowProcessingState) voidstartLoading(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:RowReaderThe type actually returned from this reader'sRowReader.readRow(org.hibernate.sql.results.jdbc.spi.RowProcessingState)call, accounting for any transformers.May be
nullto indicate that no transformation is applied.Ultimately intended for use in comparing values that are being de-duplicated
- Specified by:
getDomainResultResultJavaTypein interfaceRowReader<T>
-
getResultJavaTypes
Description copied from interface:RowReaderThe individual JavaType for each DomainResult- Specified by:
getResultJavaTypesin interfaceRowReader<T>
-
getInitializerCount
public int getInitializerCount()- Specified by:
getInitializerCountin interfaceRowReader<T>
-
resolveSingleResultEntityKey
- Specified by:
resolveSingleResultEntityKeyin interfaceRowReader<T>
-
hasCollectionInitializers
public boolean hasCollectionInitializers()- Specified by:
hasCollectionInitializersin interfaceRowReader<T>
-
readRow
Description copied from interface:RowReaderThe actual coordination of reading a row -
startLoading
Description copied from interface:RowReaderCalled before reading the first row.- Specified by:
startLoadingin interfaceRowReader<T>
-
finishUp
Description copied from interface:RowReaderCalled at the end of processing all rows
-