org.cloudgraph.rdb.service
Class RDBDataConverter

java.lang.Object
  extended by org.cloudgraph.rdb.service.RDBDataConverter

public class RDBDataConverter
extends Object


Field Summary
static RDBDataConverter INSTANCE
           
 
Method Summary
 Object fromJDBCDataType(ResultSet rs, int columnIndex, int sourceType, org.plasma.sdo.PlasmaProperty targetProperty)
           
 String getJdbcTypeName(int jdbcType)
           
 org.plasma.sdo.DataFlavor toJDBCDataFlavor(org.plasma.sdo.PlasmaProperty sourceProperty)
           
 int toJDBCDataType(org.plasma.sdo.PlasmaProperty sourceProperty, Object value)
           
 Object toJDBCDataValue(org.plasma.sdo.PlasmaProperty sourceProperty, Object value)
           
 String toJDBCString(commonj.sdo.Type sourceType, org.plasma.sdo.PlasmaProperty sourceProperty, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static RDBDataConverter INSTANCE
Method Detail

fromJDBCDataType

public Object fromJDBCDataType(ResultSet rs,
                               int columnIndex,
                               int sourceType,
                               org.plasma.sdo.PlasmaProperty targetProperty)
                        throws SQLException
Throws:
SQLException

toJDBCDataType

public int toJDBCDataType(org.plasma.sdo.PlasmaProperty sourceProperty,
                          Object value)
                   throws SQLException
Throws:
SQLException

toJDBCDataValue

public Object toJDBCDataValue(org.plasma.sdo.PlasmaProperty sourceProperty,
                              Object value)
                       throws SQLException
Throws:
SQLException

toJDBCDataFlavor

public org.plasma.sdo.DataFlavor toJDBCDataFlavor(org.plasma.sdo.PlasmaProperty sourceProperty)

toJDBCString

public String toJDBCString(commonj.sdo.Type sourceType,
                           org.plasma.sdo.PlasmaProperty sourceProperty,
                           Object value)

getJdbcTypeName

public String getJdbcTypeName(int jdbcType)


Copyright © 2014. All rights reserved.