Class SqmFunctionRegistry

java.lang.Object
org.hibernate.query.sqm.function.SqmFunctionRegistry

@SPI(USE) public class SqmFunctionRegistry extends Object

Boot-scoped registry of SqmFunctionDescriptor instances and alternate registration keys.

A FunctionContributor or Dialect may consume this registry during its function-initialization callback. Complete registration during that callback and do not retain the mutable registry afterward.

Prefer the named and pattern descriptor builders for simple functions, CommonFunctionFactory for Hibernate's stock definitions, and register(String, SqmFunctionDescriptor) for a provider-owned descriptor.

See Also: