uk.ac.starlink.table.jdbc
Interface ValueHandler


public interface ValueHandler

Defines how the data from a particular column of a JDBC table are turned into java objects.

Since:
2 Feb 2010
See Also:
TypeMapper

Method Summary
 ColumnInfo getColumnInfo()
          Returns the column metadata for this column.
 java.lang.Object getValue(java.lang.Object baseValue)
          Translates a value from the form that it takes in the ResultSet to a form which can be used for further processing.
 

Method Detail

getColumnInfo

ColumnInfo getColumnInfo()
Returns the column metadata for this column.

Returns:
column metadata

getValue

java.lang.Object getValue(java.lang.Object baseValue)
Translates a value from the form that it takes in the ResultSet to a form which can be used for further processing.

Parameters:
baseValue - ResultSet value
Returns:
value for processing

Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved.