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
ConstructorsModifierConstructorDescriptionprotectedAbstractInlineHandler(MatchingIdRestrictionProducer matchingIdsPredicateProducer, SqmDeleteOrUpdateStatement<?> sqmStatement, DomainParameterXref domainParameterXref, DomainQueryExecutionContext context, MutableObject<JdbcParameterBindings> firstJdbcParameterBindingsConsumer) -
Method Summary
Modifier and TypeMethodDescriptionCreate theJdbcParameterBindingsfor this multi-table handler based on the execution context.booleanSignals that the SQL depends on the parameter bindings e.g.protected DomainParameterXrefprotected MatchingIdRestrictionProducerbooleanisCompatibleWith(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:MultiTableHandlerCreate theJdbcParameterBindingsfor this multi-table handler based on the execution context.- Specified by:
createJdbcParameterBindingsin interfaceMultiTableHandler- Parameters:
context- Contextual information needed for execution- Returns:
- The built parameter bindings
-
dependsOnParameterBindings
public boolean dependsOnParameterBindings()Description copied from interface:MultiTableHandlerSignals that the SQL depends on the parameter bindings e.g. due to the need for inlining of parameter values or multiValued parameters.- Specified by:
dependsOnParameterBindingsin interfaceHandler- Specified by:
dependsOnParameterBindingsin interfaceMultiTableHandler
-
isCompatibleWith
public boolean isCompatibleWith(JdbcParameterBindings jdbcParameterBindings, QueryOptions queryOptions) - Specified by:
isCompatibleWithin interfaceHandler- Specified by:
isCompatibleWithin interfaceMultiTableHandler
-
getEntityDescriptor
-
getMatchingIdsPredicateProducer
-
getDomainParameterXref
-
getMatchingIdsInterpretation
protected CacheableSqmInterpretation<SelectStatement,JdbcOperationQuerySelect> getMatchingIdsInterpretation()
-