All Implemented Interfaces:
ColumnExpression, DelegateExpression, SelectExpression

public class Abs extends FunctionExpression
ABS(column) scalar function.
  • Constructor Details

    • Abs

      public Abs(ColumnExpression target, ColumnIdentifierGenerator columnIdentifierGenerator)
      Constructs a new ABS function expression.
      Parameters:
      target - The column expression to apply the function to.
      columnIdentifierGenerator - The generator for column identifiers.
  • Method Details

    • template

      protected String template()
      Description copied from class: FunctionExpression
      Gets the template for the SQL representation of the function.

      The template should contain a single "%s" placeholder for the column identifier.

      Specified by:
      template in class FunctionExpression
      Returns:
      SQL representation template