| java.lang.Object com.versant.core.jdbc.sql.conv.TypeAsBytesConverterBase com.versant.core.jdbc.sql.conv.LongArrayConverter
LongArrayConverter | public class LongArrayConverter extends TypeAsBytesConverterBase (Code) | | This converter converts long[] to and from SQL. It converts the long[]
to and from a byte[] 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)
|
|
|