Interface SetReturningFunctionTypeResolver
- All Known Implementing Classes:
GenerateSeriesSetReturningFunctionTypeResolver,JsonTableSetReturningFunctionTypeResolver,NumberSeriesGenerateSeriesFunction.NumberSeriesGenerateSeriesSetReturningFunctionTypeResolver,UnnestSetReturningFunctionTypeResolver,XmlTableSetReturningFunctionTypeResolver
Pluggable strategy for resolving a function return type for a specific call.
- Since:
- 7.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacePluggable strategy for resolving a function return type for a specific call. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder for a type resolver.resolveFunctionReturnType(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.
-
Method Details
-
resolveTupleType
AnonymousTupleType<?> resolveTupleType(List<? extends SqmTypedNode<?>> arguments, TypeConfiguration typeConfiguration) Resolve the return type for a function given its arguments to this call.- Returns:
- The resolved type.
-
resolveFunctionReturnType
SelectableMapping[] resolveFunctionReturnType(List<? extends SqlAstNode> arguments, String tableIdentifierVariable, boolean lateral, boolean withOrdinality, SqmToSqlAstConverter converter) Resolve the tuple elementsSqlExpressiblefor a function given its arguments to this call.- Returns:
- The resolved JdbcMapping.
-
builder
Creates a builder for a type resolver.
-