Class NamedFunctionDescriptorBuilder
- java.lang.Object
-
- org.hibernate.query.sqm.produce.function.NamedFunctionDescriptorBuilder
-
public class NamedFunctionDescriptorBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description NamedFunctionDescriptorBuilder(SqmFunctionRegistry registry, String registrationKey, FunctionKind functionKind, String functionName)
-
Method Summary
-
-
-
Constructor Detail
-
NamedFunctionDescriptorBuilder
public NamedFunctionDescriptorBuilder(SqmFunctionRegistry registry, String registrationKey, FunctionKind functionKind, String functionName)
-
-
Method Detail
-
setArgumentsValidator
public NamedFunctionDescriptorBuilder setArgumentsValidator(ArgumentsValidator argumentsValidator)
-
setArgumentTypeResolver
public NamedFunctionDescriptorBuilder setArgumentTypeResolver(FunctionArgumentTypeResolver argumentTypeResolver)
-
setArgumentCountBetween
public NamedFunctionDescriptorBuilder setArgumentCountBetween(int min, int max)
-
setExactArgumentCount
public NamedFunctionDescriptorBuilder setExactArgumentCount(int exactArgumentCount)
-
setMinArgumentCount
public NamedFunctionDescriptorBuilder setMinArgumentCount(int min)
-
setReturnTypeResolver
public NamedFunctionDescriptorBuilder setReturnTypeResolver(FunctionReturnTypeResolver returnTypeResolver)
-
setInvariantType
public NamedFunctionDescriptorBuilder setInvariantType(BasicType<?> invariantType)
-
setParameterTypes
public NamedFunctionDescriptorBuilder setParameterTypes(FunctionParameterType... types)
-
setUseParenthesesWhenNoArgs
public NamedFunctionDescriptorBuilder setUseParenthesesWhenNoArgs(boolean useParenthesesWhenNoArgs)
-
setArgumentListSignature
public NamedFunctionDescriptorBuilder setArgumentListSignature(String argumentListSignature)
-
setArgumentRenderingMode
public NamedFunctionDescriptorBuilder setArgumentRenderingMode(SqlAstNodeRenderingMode argumentRenderingMode)
-
register
public SqmFunctionDescriptor register()
-
descriptor
public SqmFunctionDescriptor descriptor()
-
-