Class LnSqlFunction

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

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

    • LnSqlFunction

      public LnSqlFunction()
  • 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 either Long/Integer/Double.
      Returns:
      the remainder of context.getArgument(0) divided by context.getArgument(1).