| java.lang.Object com.versant.core.jdbc.sql.conv.TypeAsBytesConverterBase com.versant.core.jdbc.sql.conv.FloatArrayConverter
FloatArrayConverter | public class FloatArrayConverter extends TypeAsBytesConverterBase (Code) | | This converter converts float[] to and from SQL. It converts the float[]
to and from a float[] and delegates to a nested converter.
TODO This could be done much faster with java.nio buffers.
|
Method Summary | |
protected Object | fromByteArray(byte[] buf) Convert a byte[] into an instance of our value class. | public Class | getValueType() Get the type of our expected value objects (e.g. | protected byte[] | toByteArray(Object value) Convert an instance of our value class into a byte[]. |
fromByteArray | protected Object fromByteArray(byte[] buf)(Code) | | Convert a byte[] into an instance of our value class.
|
getValueType | public Class getValueType()(Code) | | Get the type of our expected value objects (e.g. java.util.Locale
for a converter for Locale's).
|
toByteArray | protected byte[] toByteArray(Object value)(Code) | | Convert an instance of our value class into a byte[].
|
Methods inherited from com.versant.core.jdbc.sql.conv.TypeAsBytesConverterBase | abstract protected Object fromByteArray(byte[] buf)(Code)(Java Doc) public Object get(ResultSet rs, int index, JdbcColumn col) throws SQLException, JDOFatalDataStoreException(Code)(Java Doc) public String getOracleStyleLOBNotNullString()(Code)(Java Doc) abstract public Class getValueType()(Code)(Java Doc) public boolean isOracleStyleLOB()(Code)(Java Doc) public void set(PreparedStatement ps, int index, JdbcColumn col, Object value) throws SQLException, JDOFatalDataStoreException(Code)(Java Doc) public void set(PreparedStatement ps, int index, JdbcColumn col, int value) throws SQLException, JDOFatalDataStoreException(Code)(Java Doc) public void set(ResultSet rs, int index, JdbcColumn col, Object value) throws SQLException, JDOFatalDataStoreException(Code)(Java Doc) abstract protected byte[] toByteArray(Object value)(Code)(Java Doc)
|
|
|