Class ColumnDate

All Implemented Interfaces:

public class ColumnDate
extends java.lang.Object
implements Column

An implementation of the Column interface that displays the current date as part of the select clause. It is invoked for date() in the following example. It is not case sensitive, however there can be no spaces surrounding or in the parens (i.e. date(), DATE() are valid but date ( ) and date( ) are not: select date(), rownum(), col0, col1, mycolname, 'souza' from array

View Code

Constructor Summary
          Creates a new instance of ColumnDate
Method Summary
 Column createInstance()
          A factory method
 java.lang.Object getObject(java.lang.Object[] row)
          Returns the current date
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ColumnDate()
Creates a new instance of ColumnDate

Method Detail


public Column createInstance()
A factory method

Specified by:
createInstance in interface Column


public java.lang.Object getObject(java.lang.Object[] row)
Returns the current date

Specified by:
getObject in interface Column