|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drizzle.jdbc.internal.common.AbstractValueObject
org.drizzle.jdbc.internal.mysql.MySQLValueObject
public class MySQLValueObject
Contains the raw value returned from the server
Is immutable User: marcuse Date: Feb 16, 2009 Time: 9:18:26 PM
| Field Summary |
|---|
| Fields inherited from class org.drizzle.jdbc.internal.common.AbstractValueObject |
|---|
dataType |
| Constructor Summary | |
|---|---|
MySQLValueObject(byte[] rawBytes,
DataType dataType)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getObject()
|
java.sql.Time |
getTime()
Since drizzle has no TIME datatype, JDBC Time is stored in a packed integer |
| Methods inherited from class org.drizzle.jdbc.internal.common.AbstractValueObject |
|---|
getBigDecimal, getBigInteger, getBinaryInputStream, getBoolean, getByte, getBytes, getDate, getDate, getDisplayLength, getDouble, getFloat, getInputStream, getInt, getLong, getPBMSStream, getShort, getString, getTime, getTimestamp, getTimestamp, isNull |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MySQLValueObject(byte[] rawBytes,
DataType dataType)
| Method Detail |
|---|
public java.lang.Object getObject()
throws java.text.ParseException
getObject in interface ValueObjectgetObject in class AbstractValueObjectjava.text.ParseException
public java.sql.Time getTime()
throws java.text.ParseException
AbstractValueObject
getTime in interface ValueObjectgetTime in class AbstractValueObjectjava.text.ParseExceptionUtils.packTime(long),
Utils.unpackTime(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||