Class Log10SqlFunction

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

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

    • Log10SqlFunction

      public Log10SqlFunction()
  • 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 single argument of Number.
      Returns:
      the result of log10 of context.getArgument(0).