Class ExtractFunction

All Implemented Interfaces:
FunctionRenderer, FunctionRenderingSupport, SqmFunctionDescriptor

public class ExtractFunction extends AbstractSqmFunctionDescriptor implements FunctionRenderer
ANSI SQL-inspired extract() function, where the date/time fields are enumerated by TemporalUnit, and portability is achieved by delegating to Dialect.extractPattern(TemporalUnit).