Class AbstractInlineHandler
java.lang.Object
org.hibernate.query.sqm.mutation.internal.inline.AbstractInlineHandler
- All Implemented Interfaces:
Handler
,MultiTableHandler
- Direct Known Subclasses:
InlineDeleteHandler
,InlineUpdateHandler
DeleteHandler for the in-line strategy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractInlineHandler
(MatchingIdRestrictionProducer matchingIdsPredicateProducer, SqmDeleteOrUpdateStatement<?> sqmStatement, DomainParameterXref domainParameterXref, DomainQueryExecutionContext context, MutableObject<JdbcParameterBindings> firstJdbcParameterBindingsConsumer) -
Method Summary
Modifier and TypeMethodDescriptionCreate theJdbcParameterBindings
for this multi-table handler based on the execution context.boolean
Signals that the SQL depends on the parameter bindings e.g.protected DomainParameterXref
protected MatchingIdRestrictionProducer
boolean
isCompatibleWith
(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.query.sqm.mutation.spi.MultiTableHandler
execute
-
Constructor Details
-
AbstractInlineHandler
protected AbstractInlineHandler(MatchingIdRestrictionProducer matchingIdsPredicateProducer, SqmDeleteOrUpdateStatement<?> sqmStatement, DomainParameterXref domainParameterXref, DomainQueryExecutionContext context, MutableObject<JdbcParameterBindings> firstJdbcParameterBindingsConsumer)
-
-
Method Details
-
createJdbcParameterBindings
Description copied from interface:MultiTableHandler
Create theJdbcParameterBindings
for this multi-table handler based on the execution context.- Specified by:
createJdbcParameterBindings
in interfaceMultiTableHandler
- Parameters:
context
- Contextual information needed for execution- Returns:
- The built parameter bindings
-
dependsOnParameterBindings
public boolean dependsOnParameterBindings()Description copied from interface:MultiTableHandler
Signals that the SQL depends on the parameter bindings e.g. due to the need for inlining of parameter values or multiValued parameters.- Specified by:
dependsOnParameterBindings
in interfaceHandler
- Specified by:
dependsOnParameterBindings
in interfaceMultiTableHandler
-
isCompatibleWith
public boolean isCompatibleWith(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions) - Specified by:
isCompatibleWith
in interfaceHandler
- Specified by:
isCompatibleWith
in interfaceMultiTableHandler
-
getEntityDescriptor
-
getMatchingIdsPredicateProducer
-
getDomainParameterXref
-
getMatchingIdsInterpretation
protected CacheableSqmInterpretation<SelectStatement,JdbcOperationQuerySelect> getMatchingIdsInterpretation()
-