public class FloorSqlFunction extends SqlFunction
| Constructor and Description |
|---|
FloorSqlFunction() |
| Modifier and Type | Method and Description |
|---|---|
Object |
apply(SqlFunctionExecutionContext context)
Defines the action to be performed on the stored object.
|
assertNumberOfArguments, assertNumberOfArguments, fromSqlTypeName, isString, isWholeNumberpublic Object apply(SqlFunctionExecutionContext context)
SqlFunctionapply in class SqlFunctioncontext - contains one argument of type Number.Math.floor(double) value of context.getArgument(0), cast to
context.getArgument(0).getClass().Copyright © GigaSpaces.