Class PatternFunctionDescriptorBuilder
- java.lang.Object
-
- org.hibernate.query.sqm.produce.function.PatternFunctionDescriptorBuilder
-
public class PatternFunctionDescriptorBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description PatternFunctionDescriptorBuilder(SqmFunctionRegistry registry, String registrationKey, FunctionKind functionKind, String pattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqmFunctionDescriptor
descriptor()
SqmFunctionDescriptor
register()
PatternFunctionDescriptorBuilder
setArgumentListSignature(String argumentListSignature)
PatternFunctionDescriptorBuilder
setArgumentRenderingMode(SqlAstNodeRenderingMode argumentRenderingMode)
PatternFunctionDescriptorBuilder
setArgumentsValidator(ArgumentsValidator argumentsValidator)
PatternFunctionDescriptorBuilder
setArgumentTypeResolver(FunctionArgumentTypeResolver argumentTypeResolver)
PatternFunctionDescriptorBuilder
setExactArgumentCount(int exactArgumentCount)
PatternFunctionDescriptorBuilder
setInvariantType(BasicType<?> invariantType)
PatternFunctionDescriptorBuilder
setMinArgumentCount(int min)
PatternFunctionDescriptorBuilder
setParameterTypes(FunctionParameterType... types)
PatternFunctionDescriptorBuilder
setReturnTypeResolver(FunctionReturnTypeResolver returnTypeResolver)
-
-
-
Constructor Detail
-
PatternFunctionDescriptorBuilder
public PatternFunctionDescriptorBuilder(SqmFunctionRegistry registry, String registrationKey, FunctionKind functionKind, String pattern)
-
-
Method Detail
-
setArgumentsValidator
public PatternFunctionDescriptorBuilder setArgumentsValidator(ArgumentsValidator argumentsValidator)
-
setArgumentTypeResolver
public PatternFunctionDescriptorBuilder setArgumentTypeResolver(FunctionArgumentTypeResolver argumentTypeResolver)
-
setParameterTypes
public PatternFunctionDescriptorBuilder setParameterTypes(FunctionParameterType... types)
-
setMinArgumentCount
public PatternFunctionDescriptorBuilder setMinArgumentCount(int min)
-
setExactArgumentCount
public PatternFunctionDescriptorBuilder setExactArgumentCount(int exactArgumentCount)
-
setReturnTypeResolver
public PatternFunctionDescriptorBuilder setReturnTypeResolver(FunctionReturnTypeResolver returnTypeResolver)
-
setInvariantType
public PatternFunctionDescriptorBuilder setInvariantType(BasicType<?> invariantType)
-
setArgumentListSignature
public PatternFunctionDescriptorBuilder setArgumentListSignature(String argumentListSignature)
-
setArgumentRenderingMode
public PatternFunctionDescriptorBuilder setArgumentRenderingMode(SqlAstNodeRenderingMode argumentRenderingMode)
-
register
public SqmFunctionDescriptor register()
-
descriptor
public SqmFunctionDescriptor descriptor()
-
-