Implementation Note
Made up of (1) a SQL AST for the SQL SELECT and (2) the `ModelPart` used as the restriction
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final EntityMappingType | |
| private final JdbcParametersList | |
| private final JdbcOperationQuerySelect | |
| private final LockOptions | |
| private final ModelPart |
| Access | Constructor and Description |
|---|---|
| public | SingleIdLoadPlan(EntityMappingType entityMappingType, ModelPart restrictivePart, SelectStatement sqlAst, JdbcParametersList jdbcParameters, LockOptions lockOptions, SessionFactoryImplementor sessionFactory)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| protected JdbcParametersList | |
| public JdbcOperationQuerySelect | getJdbcSelect()
Implements org. |
| public Loadable | getLoadable()
Implements org. |
| protected LockOptions | |
| public ModelPart | getRestrictivePart()
Implements org. |
| protected RowTransformer | |
| public T | |
| public T | |
| public T | load(Object restrictedValue, Boolean readOnly, Boolean singleResultExpected, SharedSessionContractImplementor session)
|
| public T |
| entityMappingType | back to summary |
|---|---|
| private final EntityMappingType entityMappingType | |
| jdbcParameters | back to summary |
|---|---|
| private final JdbcParametersList jdbcParameters | |
| jdbcSelect | back to summary |
|---|---|
| private final JdbcOperationQuerySelect jdbcSelect | |
| lockOptions | back to summary |
|---|---|
| private final LockOptions lockOptions | |
| restrictivePart | back to summary |
|---|---|
| private final ModelPart restrictivePart | |
| SingleIdLoadPlan | back to summary |
|---|---|
| public SingleIdLoadPlan(EntityMappingType entityMappingType, ModelPart restrictivePart, SelectStatement sqlAst, JdbcParametersList jdbcParameters, LockOptions lockOptions, SessionFactoryImplementor sessionFactory)
Deprecated as a consequence of | |
| getJdbcParameters | back to summary |
|---|---|
| protected JdbcParametersList getJdbcParameters() | |
| getJdbcSelect | back to summary |
|---|---|
| public JdbcOperationQuerySelect getJdbcSelect() Implements org. Doc from org. The JdbcSelect for the load
| |
| getLoadable | back to summary |
|---|---|
| public Loadable getLoadable() Implements org. Doc from org. The thing being loaded
| |
| getLockOptions | back to summary |
|---|---|
| protected LockOptions getLockOptions() | |
| getRestrictivePart | back to summary |
|---|---|
| public ModelPart getRestrictivePart() Implements org. Doc from org. The part of the thing being loaded used to restrict which loadables get loaded
| |
| getRowTransformer | back to summary |
|---|---|
| protected RowTransformer | |
| load | back to summary |
|---|---|
| public T load(Object restrictedValue, SharedSessionContractImplementor session) | |
| load | back to summary |
|---|---|
| public T load(Object restrictedValue, Boolean readOnly, SharedSessionContractImplementor session) | |
| load | back to summary |
|---|---|
| public T load(Object restrictedValue, Boolean readOnly, Boolean singleResultExpected, SharedSessionContractImplementor session) | |
| load | back to summary |
|---|---|
| public T load(Object restrictedValue, Object entityInstance, Boolean readOnly, Boolean singleResultExpected, SharedSessionContractImplementor session) | |
| Modifier and Type | Field and Description |
|---|---|
| private final Callback | |
| private final Object | |
| private final QueryOptions | |
| private final Object | |
| private final EntityMappingType |
| Access | Constructor and Description |
|---|---|
| public | SingleIdExecutionContext(SharedSessionContractImplementor session, Object entityInstance, Object restrictedValue, EntityMappingType rootEntityDescriptor, QueryOptions queryOptions, Callback callback)
|
| Modifier and Type | Method and Description |
|---|---|
| public Callback | |
| public Object | |
| public Object | getEntityInstance()
Overrides default org. |
| public QueryOptions | |
| public EntityMappingType |
| callback | back to summary |
|---|---|
| private final Callback callback | |
| entityInstance | back to summary |
|---|---|
| private final Object entityInstance | |
| queryOptions | back to summary |
|---|---|
| private final QueryOptions queryOptions | |
| restrictedValue | back to summary |
|---|---|
| private final Object restrictedValue | |
| rootEntityDescriptor | back to summary |
|---|---|
| private final EntityMappingType rootEntityDescriptor | |
| SingleIdExecutionContext | back to summary |
|---|---|
| public SingleIdExecutionContext(SharedSessionContractImplementor session, Object entityInstance, Object restrictedValue, EntityMappingType rootEntityDescriptor, QueryOptions queryOptions, Callback callback) | |
| getCallback | back to summary |
|---|---|
| public Callback getCallback() Overrides org. Implements org.
| |
| getEntityId | back to summary |
|---|---|
| public Object getEntityId() Overrides default org.
| |
| getEntityInstance | back to summary |
|---|---|
| public Object getEntityInstance() Overrides default org. Doc from org. Should only be used when initializing a bytecode-proxy
| |
| getQueryOptions | back to summary |
|---|---|
| public QueryOptions getQueryOptions() Overrides org. Implements org.
| |
| getRootEntityDescriptor | back to summary |
|---|---|
| public EntityMappingType getRootEntityDescriptor() Overrides default org.
| |