public class ToCharSqlFunction extends SqlFunction
Modifier and Type | Field and Description |
---|---|
static DecimalFormatSymbols |
DECIMAL_FORMAT_SYMBOLS |
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 static final DecimalFormatSymbols DECIMAL_FORMAT_SYMBOLS
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.