org.axiondb.functions
Class CastAsFunction
java.lang.Object
org.axiondb.BaseSelectable
org.axiondb.functions.BaseFunction
org.axiondb.functions.CastAsFunction
- All Implemented Interfaces:
- ConcreteFunction, Function, FunctionFactory, ScalarFunction, Selectable, Serializable
- public class CastAsFunction
- extends BaseFunction
- implements ScalarFunction, FunctionFactory
ANSI style Cast As Function function : CAST( {id|expr} AS type)
- See Also:
- Serialized Form
| Methods inherited from class org.axiondb.functions.BaseFunction |
addArgument, getAlias, getArgument, getArgumentCount, getLabel, getName, setAlias, setArgument, setName, setVariableContext, toString |
CastAsFunction
public CastAsFunction()
makeNewInstance
public ConcreteFunction makeNewInstance()
- Specified by:
makeNewInstance in interface FunctionFactory
evaluate
public Object evaluate(RowDecorator row)
throws AxionException
- Specified by:
evaluate in interface ScalarFunction
- Throws:
AxionException
getDataType
public DataType getDataType()
- Specified by:
getDataType in interface Selectable- Specified by:
getDataType in class BaseFunction
isValid
public boolean isValid()
- Specified by:
isValid in interface ConcreteFunction- Specified by:
isValid in class BaseFunction