com.fdsapi.arrays
Class ColumnRowNum
java.lang.Object
|
+--com.fdsapi.arrays.ColumnRowNum
- All Implemented Interfaces:
- Column
- public class ColumnRowNum
- extends java.lang.Object
- implements Column
An implementation of the Column interface that displays the current rownumber as part of the select clause.
It is invoked for rownum() in the following example. It is not case sensitive, however there can be no spaces
surrounding or in the parens (i.e. rowNum(), rowNUM() are valid but rowNum ( ) and rowNum( ) are not:
select date(), rownum(), col0, col1, mycolname, 'souza' from array
View Code
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColumnRowNum
public ColumnRowNum()
createInstance
public Column createInstance()
- Specified by:
createInstance in interface Column
getObject
public java.lang.Object getObject(java.lang.Object[] row)
- Return the current rownumber for the row in the array
- Specified by:
getObject in interface Column