Class MultipatternSqmFunctionDescriptor

java.lang.Object
org.hibernate.query.sqm.function.AbstractSqmFunctionDescriptor
org.hibernate.query.sqm.function.MultipatternSqmFunctionDescriptor
All Implemented Interfaces:
SqmFunctionDescriptor

public class MultipatternSqmFunctionDescriptor extends AbstractSqmFunctionDescriptor
Support for overloaded functions defined in terms of a list of patterns, one for each possible function arity.
See Also:
  • Constructor Details

    • MultipatternSqmFunctionDescriptor

      public MultipatternSqmFunctionDescriptor(String name, SqmFunctionDescriptor[] functions, BasicType<?> type, TypeConfiguration typeConfiguration, FunctionParameterType... parameterTypes)
      Construct an instance with the given function templates where the position of each function template in the given array corresponds to the arity of the function template. The array must be padded with leading nulls where there is no overloaded form corresponding to lower arities.
      Parameters:
      name -
      functions - the function templates to delegate to,
      type -
    • MultipatternSqmFunctionDescriptor

      public MultipatternSqmFunctionDescriptor(String name, SqmFunctionDescriptor[] functions, TypeConfiguration typeConfiguration, FunctionParameterType... parameterTypes)
      Construct an instance with the given function templates where the position of each function template in the given array corresponds to the arity of the function template. The array must be padded with leading nulls where there is no overloaded form corresponding to lower arities.
      Parameters:
      name -
      functions - the function templates to delegate to,
  • Method Details