Class MathOperationGenerator

java.lang.Object
org.litebridge.db.spi.impl.sql.MathOperationGenerator

public class MathOperationGenerator extends Object
  • Field Details

  • Constructor Details

    • MathOperationGenerator

      public MathOperationGenerator(LabelGenerator labelGenerator)
  • Method Details

    • createMathOperation

      public String createMathOperation(String column, MathOperator mathOperator)
      Creates a SQL representation of a math operation.
      Parameters:
      column - the column
      mathOperator - the math operation
      Returns:
      the SQL representation of the math operation