Class NestedRowProcessingState
- java.lang.Object
-
- org.hibernate.sql.exec.internal.BaseExecutionContext
-
- org.hibernate.sql.results.graph.embeddable.internal.NestedRowProcessingState
-
- All Implemented Interfaces:
ExecutionContext
,RowProcessingState
public class NestedRowProcessingState extends BaseExecutionContext implements RowProcessingState
-
-
Constructor Summary
Constructors Constructor Description NestedRowProcessingState(AggregateEmbeddableInitializer aggregateEmbeddableInitializer, RowProcessingState processingState)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finishRowProcessing()
Callback at the end of processing the current "row"Callback
getCallback()
Object
getJdbcValue(int position)
Retrieve the value corresponding to the given index as part of the "current JDBC row".JdbcValuesSourceProcessingState
getJdbcValuesSourceProcessingState()
Access to the state related to the overall processing of the results.QueryOptions
getQueryOptions()
QueryParameterBindings
getQueryParameterBindings()
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 pathstatic NestedRowProcessingState
wrap(AggregateEmbeddableInitializer aggregateEmbeddableInitializer, RowProcessingState processingState)
-
Methods inherited from class org.hibernate.sql.exec.internal.BaseExecutionContext
getLoadQueryInfluencers, getQueryIdentifier, getSession
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.exec.spi.ExecutionContext
afterStatement, getCollectionKey, getEntityId, getEntityInstance, getLoadQueryInfluencers, getQueryIdentifier, getSession, hasQueryExecutionToBeAddedToStatistics, isScrollResult, registerLoadingEntityEntry
-
Methods inherited from interface org.hibernate.sql.results.jdbc.spi.RowProcessingState
getJdbcValue
-
-
-
-
Constructor Detail
-
NestedRowProcessingState
public NestedRowProcessingState(AggregateEmbeddableInitializer aggregateEmbeddableInitializer, RowProcessingState processingState)
-
-
Method Detail
-
wrap
public static NestedRowProcessingState wrap(AggregateEmbeddableInitializer aggregateEmbeddableInitializer, RowProcessingState processingState)
-
getJdbcValue
public Object getJdbcValue(int position)
Description copied from interface:RowProcessingState
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.- Specified by:
getJdbcValue
in interfaceRowProcessingState
-
getJdbcValuesSourceProcessingState
public JdbcValuesSourceProcessingState getJdbcValuesSourceProcessingState()
Description copied from interface:RowProcessingState
Access to the state related to the overall processing of the results.- Specified by:
getJdbcValuesSourceProcessingState
in interfaceRowProcessingState
-
getRowReader
public RowReader<?> getRowReader()
Description copied from interface:RowProcessingState
todo (6.0) : do we want this here? Depends how we handle caching assembler / result memento- Specified by:
getRowReader
in interfaceRowProcessingState
-
registerNonExists
public void registerNonExists(EntityFetch fetch)
- Specified by:
registerNonExists
in interfaceRowProcessingState
-
isQueryCacheHit
public boolean isQueryCacheHit()
- Specified by:
isQueryCacheHit
in interfaceRowProcessingState
-
finishRowProcessing
public void finishRowProcessing()
Description copied from interface:RowProcessingState
Callback at the end of processing the current "row"- Specified by:
finishRowProcessing
in interfaceRowProcessingState
-
resolveInitializer
public Initializer resolveInitializer(NavigablePath path)
Description copied from interface:RowProcessingState
Locate the Initializer registered for the given path- Specified by:
resolveInitializer
in interfaceRowProcessingState
-
getQueryOptions
public QueryOptions getQueryOptions()
- Specified by:
getQueryOptions
in interfaceExecutionContext
- Overrides:
getQueryOptions
in classBaseExecutionContext
-
getQueryParameterBindings
public QueryParameterBindings getQueryParameterBindings()
- Specified by:
getQueryParameterBindings
in interfaceExecutionContext
- Overrides:
getQueryParameterBindings
in classBaseExecutionContext
-
getCallback
public Callback getCallback()
- Specified by:
getCallback
in interfaceExecutionContext
- Overrides:
getCallback
in classBaseExecutionContext
-
-