Package org.hibernate.dialect.function
Class UnnestSetReturningFunctionTypeResolver
java.lang.Object
org.hibernate.dialect.function.UnnestSetReturningFunctionTypeResolver
- All Implemented Interfaces:
SetReturningFunctionTypeResolver
public class UnnestSetReturningFunctionTypeResolver
extends Object
implements SetReturningFunctionTypeResolver
- Since:
- 7.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.query.sqm.produce.function.SetReturningFunctionTypeResolver
SetReturningFunctionTypeResolver.Builder -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUnnestSetReturningFunctionTypeResolver(@Nullable String defaultBasicArrayColumnName, String defaultIndexSelectionExpression) -
Method Summary
Modifier and TypeMethodDescriptionresolveFunctionReturnType(List<? extends SqlAstNode> arguments, String tableIdentifierVariable, boolean lateral, boolean withOrdinality, SqmToSqlAstConverter converter) Resolve the tuple elementsSqlExpressiblefor a function given its arguments to this call.resolveTupleType(List<? extends SqmTypedNode<?>> arguments, TypeConfiguration typeConfiguration) Resolve the return type for a function given its arguments to this call.
-
Field Details
-
defaultBasicArrayColumnName
-
defaultIndexSelectionExpression
-
-
Constructor Details
-
UnnestSetReturningFunctionTypeResolver
-
-
Method Details
-
resolveTupleType
public AnonymousTupleType<?> resolveTupleType(List<? extends SqmTypedNode<?>> arguments, TypeConfiguration typeConfiguration) Description copied from interface:SetReturningFunctionTypeResolverResolve the return type for a function given its arguments to this call.- Specified by:
resolveTupleTypein interfaceSetReturningFunctionTypeResolver- Returns:
- The resolved type.
-
resolveFunctionReturnType
public SelectableMapping[] resolveFunctionReturnType(List<? extends SqlAstNode> arguments, String tableIdentifierVariable, boolean lateral, boolean withOrdinality, SqmToSqlAstConverter converter) Description copied from interface:SetReturningFunctionTypeResolverResolve the tuple elementsSqlExpressiblefor a function given its arguments to this call.- Specified by:
resolveFunctionReturnTypein interfaceSetReturningFunctionTypeResolver- Returns:
- The resolved JdbcMapping.
-