Class AbstractSqmFunctionDescriptor

java.lang.Object
org.hibernate.query.sqm.function.AbstractSqmFunctionDescriptor
All Implemented Interfaces:
SqmFunctionDescriptor
Direct Known Subclasses:
AbstractSqmSelfRenderingFunctionDescriptor, CastStrEmulation, CoalesceIfnullEmulation, DateTruncEmulation, ExtractFunction, FormatFunction, InsertSubstringOverlayEmulation, JdbcEscapeFunctionDescriptor, LocatePositionEmulation, LpadRpadPadEmulation, MultipatternSqmFunctionDescriptor, NvlCoalesceEmulation, OrderByFragmentFunction, PostgreSQLTruncRoundFunction, TruncFunction

@SPI({USE,IMPLEMENT}) public abstract class AbstractSqmFunctionDescriptor extends Object implements SqmFunctionDescriptor

Base descriptor for custom SQM function generation.

Subclasses implement generateSqmFunctionExpression(List, ReturnableType, QueryEngine) and may override the aggregate, ordered-set aggregate, or window generation hooks. Prefer AbstractSqmSelfRenderingFunctionDescriptor when the function directly renders its SQL representation.