|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axiondb.BaseSelectable
org.axiondb.functions.BaseFunction
org.axiondb.functions.RowNumFunction
public class RowNumFunction
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).
| Field Summary |
|---|
| Fields inherited from class org.axiondb.BaseSelectable |
|---|
_hash |
| Constructor Summary | |
|---|---|
RowNumFunction()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
evaluate(RowDecorator row)
|
DataType |
getDataType()
|
boolean |
isValid()
|
ConcreteFunction |
makeNewInstance()
|
| Methods inherited from class org.axiondb.functions.BaseFunction |
|---|
addArgument, getArgument, getArgumentCount, setArgument, setVariableContext, toString |
| Methods inherited from class org.axiondb.BaseSelectable |
|---|
getAlias, getLabel, getName, setAlias, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.axiondb.Function |
|---|
addArgument, getAlias, getArgument, getArgumentCount, getName, setAlias, setArgument |
| Methods inherited from interface org.axiondb.Selectable |
|---|
getLabel, setVariableContext |
| Constructor Detail |
|---|
public RowNumFunction()
| Method Detail |
|---|
public ConcreteFunction makeNewInstance()
makeNewInstance in interface FunctionFactorypublic DataType getDataType()
getDataType in interface SelectablegetDataType in class BaseFunction
public java.lang.Object evaluate(RowDecorator row)
throws AxionException
evaluate in interface ScalarFunctionevaluate in interface SelectableAxionExceptionpublic boolean isValid()
isValid in interface ConcreteFunctionisValid in class BaseFunction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||