com.espertech.esper.util
Interface DatabaseTypeBinding

All Superinterfaces:
Serializable

public interface DatabaseTypeBinding
extends Serializable

Binding from database output column type to Java object.


Method Summary
 Class getType()
          Returns the Java target type.
 Object getValue(ResultSet resultSet, String columnName)
          Returns the Java object for the given column.
 

Method Detail

getValue

Object getValue(ResultSet resultSet,
                String columnName)
                throws SQLException
Returns the Java object for the given column.

Parameters:
resultSet - is the result set to read the column from
columnName - is the column name
Returns:
Java object
Throws:
SQLException - if the mapping cannot be performed

getType

Class getType()
Returns the Java target type.

Returns:
Java type

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com