Interface RowProcessingState
- All Superinterfaces:
ExecutionContext
- All Known Implementing Classes:
NestedRowProcessingState
,RowProcessingStateStandardImpl
State pertaining to the processing of a single "row" of a JdbcValuesSource
-
Method Summary
Modifier and TypeMethodDescriptiondetermineEffectiveLockMode
(String alias) void
finishRowProcessing
(boolean wasAdded) Callback at the end of processing the current "row"<T extends InitializerData>
TgetInitializerData
(int initializerId) 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".Access to the state related to the overall processing of the results.RowReader<?>
todo (6.0) : do we want this here? Depends how we handle caching assembler / result mementoboolean
boolean
void
registerNonExists
(EntityFetch fetch) void
setInitializerData
(int initializerId, InitializerData state) default RowProcessingState
unwrap()
If this is a row processing state for aggregate components, this will return the underlying row processing state.Methods inherited from interface org.hibernate.sql.exec.spi.ExecutionContext
afterStatement, getCallback, getCollectionKey, getEntityId, getEntityInstance, getEntityUniqueKey, getEntityUniqueKeyAttributePath, getLoadQueryInfluencers, getQueryIdentifier, getQueryOptions, getQueryParameterBindings, getRootEntityDescriptor, getSession, hasCallbackActions, hasQueryExecutionToBeAddedToStatistics, isScrollResult, registerLoadingEntityHolder, upgradeLocks
-
Method Details
-
getJdbcValuesSourceProcessingState
JdbcValuesSourceProcessingState getJdbcValuesSourceProcessingState()Access to the state related to the overall processing of the results. -
determineEffectiveLockMode
-
needsResolveState
boolean needsResolveState() -
getInitializerData
-
setInitializerData
-
getJdbcValue
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
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
-
isQueryCacheHit
boolean isQueryCacheHit() -
finishRowProcessing
void finishRowProcessing(boolean wasAdded) Callback at the end of processing the current "row" -
unwrap
If this is a row processing state for aggregate components, this will return the underlying row processing state.
-