Top Description Methods
org.hibernate.sql.results.spi

public Interface RowReader<R>

Known Direct Implementers
org.hibernate.sql.results.internal.StandardRowReader
Imports
java.util.List, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.sql.results.graph.Initializer, org.hibernate.sql.results.internal.InitializersList, org.hibernate.sql.results.jdbc.spi.RowProcessingState, .JdbcValuesSourceProcessingOptions, .JdbcValuesSourceProcessingState, org.hibernate.query.named.RowReaderMemento, org.hibernate.type.descriptor.java.JavaType

Coordinates the process of reading a single result values row
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public void
finishUp(JdbcValuesSourceProcessingState context)

Called at the end of processing all rows

public Class<R>
getDomainResultResultJavaType()

The type actually returned from this reader's readRow call, accounting for any transformers.

public List<Initializer>
getInitializers()

Deprecated use getInitializersList()
The initializers associated with this reader.
public InitializersList
getInitializersList()

The initializers associated with this reader.

public Class<?>
getResultJavaType()

The row result Java type, before any transformations.

public List<JavaType<?>>
getResultJavaTypes()

The individual JavaType for each DomainResult

public R
readRow(RowProcessingState processingState, JdbcValuesSourceProcessingOptions options)

The actual coordination of reading a row

public RowReaderMemento
toMemento(SessionFactoryImplementor factory)

Deprecated to be removed
Not used - to be removed?

Method Detail

finishUpback to summary
public void finishUp(JdbcValuesSourceProcessingState context)

Called at the end of processing all rows

getDomainResultResultJavaTypeback to summary
public Class<R> getDomainResultResultJavaType()

The type actually returned from this reader's readRow 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

getInitializersback to summary
public List<Initializer> getInitializers()

Deprecated

use getInitializersList()

The initializers associated with this reader.

Annotations
@Deprecated
See Also
org.hibernate.sql.results.graph.DomainResult
getInitializersListback to summary
public InitializersList getInitializersList()

The initializers associated with this reader.

See Also
org.hibernate.sql.results.graph.DomainResult
getResultJavaTypeback to summary
public Class<?> getResultJavaType()

The row result Java type, before any transformations.

API Note

along with getResultJavaTypes(), describes the "raw" values as determined from the org.hibernate.sql.results.graph.DomainResult references associated with the JdbcValues being processed

getResultJavaTypesback to summary
public List<JavaType<?>> getResultJavaTypes()

The individual JavaType for each DomainResult

readRowback to summary
public R readRow(RowProcessingState processingState, JdbcValuesSourceProcessingOptions options)

The actual coordination of reading a row

toMementoback to summary
public RowReaderMemento toMemento(SessionFactoryImplementor factory)

Deprecated

to be removed

Not used - to be removed?

Annotations
@Deprecated