com.fdsapi.arrays
Class ColumnDate

java.lang.Object
  |
  +--com.fdsapi.arrays.ColumnDate
All Implemented Interfaces:
Column

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
ColumnDate()
          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

ColumnDate

public ColumnDate()
Creates a new instance of ColumnDate

Method Detail

createInstance

public Column createInstance()
A factory method

Specified by:
createInstance in interface Column

getObject

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

Specified by:
getObject in interface Column