Class ColumnString

All Implemented Interfaces:

public class ColumnString
extends java.lang.Object
implements Column

An implementation of the Column interface that displays a string constant as part of the select clause. It is invoked for 'souza' in the following example. Double quotes may also be used to delimit the String.: select date(), rownum(), col0, col1, mycolname, "steve", 'souza' from array

View Code

Constructor Summary
ColumnString(java.lang.String stringConst)
          Creates a new instance of ColumnString
Method Summary
 Column createInstance()
 java.lang.Object getObject(java.lang.Object[] row)
          Return the objects associated String
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ColumnString(java.lang.String stringConst)
Creates a new instance of ColumnString

Method Detail


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


public java.lang.Object getObject(java.lang.Object[] row)
Return the objects associated String

Specified by:
getObject in interface Column