Class ArrayIncludesArgumentTypeResolver
java.lang.Object
org.hibernate.dialect.function.array.ArrayIncludesArgumentTypeResolver
- All Implemented Interfaces:
FunctionArgumentTypeResolver, org.hibernate.query.sqm.produce.function.internal.AbstractFunctionArgumentTypeResolver
public class ArrayIncludesArgumentTypeResolver
extends Object
implements org.hibernate.query.sqm.produce.function.internal.AbstractFunctionArgumentTypeResolver
A
FunctionArgumentTypeResolver that resolves the argument types for the array_includes function.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable MappingModelExpressible<?> resolveFunctionArgumentType(List<? extends SqmTypedNode<?>> arguments, int argumentIndex, SqmToSqlAstConverter converter) Resolve the argument type for a function given its context-implied return type.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.query.sqm.produce.function.internal.AbstractFunctionArgumentTypeResolver
resolveFunctionArgumentType
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ArrayIncludesArgumentTypeResolver
public ArrayIncludesArgumentTypeResolver()
-
-
Method Details
-
resolveFunctionArgumentType
public @Nullable MappingModelExpressible<?> resolveFunctionArgumentType(List<? extends SqmTypedNode<?>> arguments, int argumentIndex, SqmToSqlAstConverter converter) Description copied from interface:FunctionArgumentTypeResolverResolve the argument type for a function given its context-implied return type.The context-implied type is the type implied by where the function occurs in the query. E.g., for an equality predicate (`something = some_function`) the implied type would be defined by the type of `something`.
- Specified by:
resolveFunctionArgumentTypein interfaceorg.hibernate.query.sqm.produce.function.internal.AbstractFunctionArgumentTypeResolver- Specified by:
resolveFunctionArgumentTypein interfaceFunctionArgumentTypeResolver- Returns:
- The resolved type.
-