public class RowNumFunction extends BaseFunction implements ScalarFunction, FunctionFactory
Note that conditions testing whether ROWNUM() is greater than a positive integer will always fail (since for each tested row ROWNUM() will evaluate to 1).
_hash| Constructor and Description |
|---|
RowNumFunction() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
evaluate(RowDecorator row) |
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