public class ToCharSqlFunction extends SqlFunction
Constructor and Description |
---|
ToCharSqlFunction() |
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
- which contains a argument of type Number or Date and can have an additional
format argument. A Number argument should be used with DecimalFormat
,
a Date argument should be used with SimpleDateFormat
. please notice:
time zone will always evaluated as GMT.Copyright © GigaSpaces.