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

public Interface RowProcessingState

extends ExecutionContext
Known Direct Implementers
org.hibernate.sql.results.graph.embeddable.internal.NestedRowProcessingState, org.hibernate.sql.results.internal.RowProcessingStateStandardImpl
Imports
org.hibernate.spi.NavigablePath, org.hibernate.sql.ast.spi.SqlSelection, org.hibernate.sql.exec.spi.ExecutionContext, org.hibernate.sql.results.graph.Initializer, org.hibernate.sql.results.graph.entity.EntityFetch, org.hibernate.sql.results.spi.RowReader

State pertaining to the processing of a single "row" of a JdbcValuesSource
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public void
finishRowProcessing()

Callback at the end of processing the current "row"

public default Object
getJdbcValue(SqlSelection sqlSelection)

Retrieve the value corresponding to the given SqlSelection as part of the "current JDBC row".

public Object
getJdbcValue(int position)

Retrieve the value corresponding to the given index as part of the "current JDBC row".

public JdbcValuesSourceProcessingState
getJdbcValuesSourceProcessingState()

Access to the state related to the overall processing of the results.

public RowReader<?>
getRowReader()

todo (6.0) : do we want this here?

public boolean
public void
public Initializer
resolveInitializer(NavigablePath path)

Locate the Initializer registered for the given path

Inherited from org.hibernate.sql.exec.spi.ExecutionContext:
afterStatementgetCallbackgetCollectionKeygetEntityIdgetEntityInstancegetLoadQueryInfluencersgetQueryIdentifiergetQueryOptionsgetQueryParameterBindingsgetRootEntityDescriptorgetSessionhasCallbackActionshasQueryExecutionToBeAddedToStatisticsisScrollResultregisterLoadingEntityHolderupgradeLocks

Method Detail

finishRowProcessingback to summary
public void finishRowProcessing()

Callback at the end of processing the current "row"

getJdbcValueback to summary
public default Object getJdbcValue(SqlSelection sqlSelection)

Retrieve the value corresponding to the given SqlSelection as part of the "current JDBC row".

See Also
SqlSelection#getValuesArrayPosition(), getJdbcValue(int)
getJdbcValueback to summary
public Object getJdbcValue(int position)

Retrieve the value corresponding to the given index as part of the "current JDBC row". We read all the ResultSet values for the given row one time and store them into an array internally based on the principle that multiple accesses to this array will be significantly faster than accessing them from the ResultSet potentially multiple times.

getJdbcValuesSourceProcessingStateback to summary
public JdbcValuesSourceProcessingState getJdbcValuesSourceProcessingState()

Access to the state related to the overall processing of the results.

getRowReaderback to summary
public RowReader<?> getRowReader()

todo (6.0) : do we want this here? Depends how we handle caching assembler / result memento

isQueryCacheHitback to summary
public boolean isQueryCacheHit()
registerNonExistsback to summary
public void registerNonExists(EntityFetch fetch)
resolveInitializerback to summary
public Initializer resolveInitializer(NavigablePath path)

Locate the Initializer registered for the given path