Interface SetReturningFunctionTypeResolver.Builder
- All Known Implementing Classes:
SetReturningFunctionTypeResolverBuilder
- Enclosing interface:
SetReturningFunctionTypeResolver
Pluggable strategy for resolving a function return type for a specific call.
- Since:
- 7.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a type resolver.Likeinvariant(String, BasicType, String), but passing the component as selection expression.Specifies that the return type has a component with the given name being selectable through the given selection expression, which has the given invariant type.invariant(String component, BasicTypeReference<?> invariantType) Likeinvariant(String, BasicTypeReference, String), but passing the component as selection expression.invariant(String component, BasicTypeReference<?> invariantType, String selectionExpression) Specifies that the return type has a component with the given name being selectable through the given selection expression, which has the given invariant type.useArgType(String component, int argPosition) LikeuseArgType(String, int, String), but passing the component as selection expression.useArgType(String component, int argPosition, String selectionExpression) Specifies that the return type has a component with the given name being selectable through the given selection expression, which has the same type as the argument of the given 0-based position.
-
Method Details
-
invariant
SetReturningFunctionTypeResolver.Builder invariant(String component, BasicTypeReference<?> invariantType) Likeinvariant(String, BasicTypeReference, String), but passing the component as selection expression.- See Also:
-
invariant
SetReturningFunctionTypeResolver.Builder invariant(String component, BasicTypeReference<?> invariantType, String selectionExpression) Specifies that the return type has a component with the given name being selectable through the given selection expression, which has the given invariant type. -
invariant
Likeinvariant(String, BasicType, String), but passing the component as selection expression.- See Also:
-
invariant
SetReturningFunctionTypeResolver.Builder invariant(String component, BasicType<?> invariantType, String selectionExpression) Specifies that the return type has a component with the given name being selectable through the given selection expression, which has the given invariant type. -
useArgType
LikeuseArgType(String, int, String), but passing the component as selection expression.- See Also:
-
useArgType
SetReturningFunctionTypeResolver.Builder useArgType(String component, int argPosition, String selectionExpression) Specifies that the return type has a component with the given name being selectable through the given selection expression, which has the same type as the argument of the given 0-based position. -
build
SetReturningFunctionTypeResolver build()Builds a type resolver.
-