public class DatePartFunction extends BaseFunction implements ScalarFunction, FunctionFactory
_hash| Constructor and Description |
|---|
DatePartFunction()
Creates a new instance of Class
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
evaluate(RowDecorator row)
Returns String representation of requested portion of given timestamp.
|
DataType |
getDataType()
|
boolean |
isValid() |
ConcreteFunction |
makeNewInstance() |
addArgument, getArgument, getArgumentCount, setArgument, setVariableContext, toStringgetAlias, getLabel, getName, setAlias, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddArgument, getAlias, getArgument, getArgumentCount, getName, setAlias, setArgumentgetLabel, setVariableContextpublic ConcreteFunction makeNewInstance()
makeNewInstance in interface FunctionFactorypublic DataType getDataType()
getDataType in interface SelectablegetDataType in class BaseFunctionpublic java.lang.Object evaluate(RowDecorator row) throws AxionException
evaluate in interface ScalarFunctionevaluate in interface SelectableAxionExceptionpublic boolean isValid()
isValid in interface ConcreteFunctionisValid in class BaseFunction