Interface RowProcessingState
-
- All Superinterfaces:
ExecutionContext
- All Known Implementing Classes:
NestedRowProcessingState
,RowProcessingStateStandardImpl
public interface RowProcessingState extends ExecutionContext
State pertaining to the processing of a single "row" of a JdbcValuesSource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
finishRowProcessing()
Callback at the end of processing the current "row"Object
getJdbcValue(int position)
Retrieve the value corresponding to the given index as part of the "current JDBC row".default Object
getJdbcValue(SqlSelection sqlSelection)
Retrieve the value corresponding to the given SqlSelection as part of the "current JDBC row".JdbcValuesSourceProcessingState
getJdbcValuesSourceProcessingState()
Access to the state related to the overall processing of the results.RowReader<?>
getRowReader()
todo (6.0) : do we want this here? Depends how we handle caching assembler / result mementoboolean
isQueryCacheHit()
void
registerNonExists(EntityFetch fetch)
Initializer
resolveInitializer(NavigablePath path)
Locate the Initializer registered for the given path-
Methods inherited from interface org.hibernate.sql.exec.spi.ExecutionContext
afterStatement, getCallback, getCollectionKey, getEntityId, getEntityInstance, getLoadQueryInfluencers, getQueryIdentifier, getQueryOptions, getQueryParameterBindings, getRootEntityDescriptor, getSession, hasCallbackActions, hasQueryExecutionToBeAddedToStatistics, isScrollResult, registerLoadingEntityEntry, registerSubselect, upgradeLocks
-
-
-
-
Method Detail
-
getJdbcValuesSourceProcessingState
JdbcValuesSourceProcessingState getJdbcValuesSourceProcessingState()
Access to the state related to the overall processing of the results.
-
getJdbcValue
default Object getJdbcValue(SqlSelection sqlSelection)
Retrieve the value corresponding to the given SqlSelection as part of the "current JDBC row".
-
getRowReader
RowReader<?> getRowReader()
todo (6.0) : do we want this here? Depends how we handle caching assembler / result memento
-
getJdbcValue
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.
-
registerNonExists
void registerNonExists(EntityFetch fetch)
-
isQueryCacheHit
boolean isQueryCacheHit()
-
finishRowProcessing
void finishRowProcessing()
Callback at the end of processing the current "row"
-
resolveInitializer
Initializer resolveInitializer(NavigablePath path)
Locate the Initializer registered for the given path
-
-