net.esper.eql.db
Class DBOutputTypeDesc

java.lang.Object
  extended by net.esper.eql.db.DBOutputTypeDesc

public class DBOutputTypeDesc
extends Object

Descriptor for SQL output columns.


Constructor Summary
DBOutputTypeDesc(int sqlType, String className)
          Ctor.
 
Method Summary
 String getClassName()
          Returns the class name that getObject() on the output column produces.
 int getSqlType()
          Returns the SQL type of the output column.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBOutputTypeDesc

public DBOutputTypeDesc(int sqlType,
                        String className)
Ctor.

Parameters:
sqlType - the type of the column
className - the Java class reflecting column type
Method Detail

getSqlType

public int getSqlType()
Returns the SQL type of the output column.

Returns:
sql type

getClassName

public String getClassName()
Returns the class name that getObject() on the output column produces.

Returns:
class name from statement metadata

toString

public String toString()
Overrides:
toString in class Object