Class SybaseTruncFunction

All Implemented Interfaces:
SqmFunctionDescriptor

public class SybaseTruncFunction extends TruncFunction
Custom TruncFunction for Sybase which uses a dialect-specific emulation function for datetimes
  • Constructor Details

    • SybaseTruncFunction

      public SybaseTruncFunction(TypeConfiguration typeConfiguration)
  • Method Details

    • generateSqmFunctionExpression

      protected <T> SelfRenderingSqmFunction<T> generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine)
      Description copied from class: AbstractSqmFunctionDescriptor
      Return an SQM node or subtree representing an invocation of this function with the given arguments. This method may be overridden in the case of function descriptors that wish to customize creation of the node.
      Overrides:
      generateSqmFunctionExpression in class TruncFunction
      Parameters:
      arguments - the arguments of the function invocation
      impliedResultType - the function return type as inferred from its usage