Class PowerSqlFunction

java.lang.Object
com.gigaspaces.query.sql.functions.SqlFunction
com.gigaspaces.query.sql.functions.extended.PowerSqlFunction

public class PowerSqlFunction extends SqlFunction
Built in mathematical sql function to perform power operation.
Since:
16.0
Author:
Mishel Liberman
  • Constructor Details

    • PowerSqlFunction

      public PowerSqlFunction()
  • Method Details

    • apply

      public Object apply(SqlFunctionExecutionContext context)
      Description copied from class: SqlFunction
      Defines the action to be performed on the stored object.
      Specified by:
      apply in class SqlFunction
      Parameters:
      context - contains two arguments of Number.
      Returns:
      the result of context.getArgument0(0) power context.getArgument(1).