org.axiondb.functions

Class RowNumFunction

public class RowNumFunction extends BaseFunction implements ScalarFunction, FunctionFactory

Returns an one-based index indicating the order in which a row was selected from a table, join, etc.

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).

Version: $Revision: 1.4 $ $Date: 2005/03/01 22:58:42 $

Author: Rodney Waldhoff

Constructor Summary
RowNumFunction()
Method Summary
Objectevaluate(RowDecorator row)
DataTypegetDataType()
booleanisValid()
ConcreteFunctionmakeNewInstance()

Constructor Detail

RowNumFunction

public RowNumFunction()

Method Detail

evaluate

public Object evaluate(RowDecorator row)

getDataType

public DataType getDataType()

isValid

public boolean isValid()

makeNewInstance

public ConcreteFunction makeNewInstance()