Class CurrentUserSqlFunction

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

public class CurrentUserSqlFunction extends SqlFunction
Get username for this session
Since:
16.0
Author:
Mishel Liberman
  • Constructor Details

    • CurrentUserSqlFunction

      public CurrentUserSqlFunction()
  • 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 0 arguments.
      Returns:
      username for this session as String