Class ColumnRowNum

All Implemented Interfaces:

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

Constructor Summary
Method Summary
 Column createInstance()
 java.lang.Object getObject(java.lang.Object[] row)
          Return the current rownumber for the row in the array
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ColumnRowNum()
Method Detail


public Column createInstance()
Specified by:
createInstance in interface Column


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