com.fdsapi.arrays
Class ColumnData

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

public class ColumnData
extends java.lang.Object
implements Column

An implementation of the Column interface that displays a particular column from the array as part of the select clause. It is invoked for col0, col1, and mycolname in the following example: select date(), rownum(), col0, col1, mycolname from array



View Code


Constructor Summary
ColumnData(int columnNumber)
          Creates a new instance of ColumnData
 
Method Summary
 Column createInstance()
           
 java.lang.Object getObject(java.lang.Object[] row)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnData

public ColumnData(int columnNumber)
Creates a new instance of ColumnData

Method Detail

getObject

public java.lang.Object getObject(java.lang.Object[] row)
Specified by:
getObject in interface Column

createInstance

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