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, isWholeNumber
public Object apply(SqlFunctionExecutionContext context)
SqlFunction
apply
in class SqlFunction
context
- contains one argument of type Number.Math.floor(double)
value of context.getArgument(0), cast to
context.getArgument(0).getClass().Copyright © GigaSpaces.