Class ExtractFunction

All Implemented Interfaces:
FunctionRenderer, SqmFunctionDescriptor
Direct Known Subclasses:
OracleExtractFunction

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).