Class DayNameSqlFunction
java.lang.Object
com.gigaspaces.query.sql.functions.SqlFunction
com.gigaspaces.query.sql.functions.DayNameSqlFunction
Returns day name
- Since:
- 16.0.0
- Author:
- Evgeny Fisher
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(SqlFunctionExecutionContext context) Defines the action to be performed on the stored object.protected DateverifyArgumentsAndGetDate(String functionName, SqlFunctionExecutionContext context) Methods inherited from class com.gigaspaces.query.sql.functions.SqlFunction
assertNumberOfArguments, assertNumberOfArguments, fromSqlTypeName, isString, isWholeNumber
-
Field Details
-
calendar
-
-
Constructor Details
-
DayNameSqlFunction
public DayNameSqlFunction()
-
-
Method Details
-
apply
Description copied from class:SqlFunctionDefines the action to be performed on the stored object.- Specified by:
applyin classSqlFunction- Parameters:
context- which contains one argument of type string.- Returns:
- Returns the string context.getArgument(0) with all characters changed to uppercase.
-
verifyArgumentsAndGetDate
-