public class MySQLValueObject extends Object implements ValueObject
TINYINT1_IS_BIT, YEAR_IS_DATE_TYPE| Constructor and Description |
|---|
MySQLValueObject(byte[] rawBytes,
MySQLColumnInformation columnInfo,
boolean isBinaryEncoded,
Options options) |
MySQLValueObject(byte[] rawBytes,
MySQLColumnInformation columnInfo,
Options options) |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getBigDecimal() |
BigInteger |
getBigInteger() |
InputStream |
getBinaryInputStream() |
Blob |
getBlob() |
boolean |
getBoolean() |
byte |
getByte() |
byte[] |
getBytes() |
Clob |
getClob() |
Date |
getDate(Calendar cal) |
int |
getDisplayLength() |
double |
getDouble() |
float |
getFloat() |
InputStream |
getInputStream() |
int |
getInt() |
long |
getLong() |
Object |
getObject(int datatypeMappingFlags,
Calendar cal) |
short |
getShort() |
String |
getString() |
String |
getString(Calendar cal) |
Time |
getTime(Calendar cal) |
Timestamp |
getTimestamp(Calendar cal) |
boolean |
isNull() |
public MySQLValueObject(byte[] rawBytes,
MySQLColumnInformation columnInfo,
Options options)
public MySQLValueObject(byte[] rawBytes,
MySQLColumnInformation columnInfo,
boolean isBinaryEncoded,
Options options)
public String getString()
getString in interface ValueObjectpublic String getString(Calendar cal)
getString in interface ValueObjectpublic byte getByte()
getByte in interface ValueObjectpublic short getShort()
getShort in interface ValueObjectpublic int getInt()
getInt in interface ValueObjectpublic long getLong()
getLong in interface ValueObjectpublic float getFloat()
getFloat in interface ValueObjectpublic double getDouble()
getDouble in interface ValueObjectpublic BigDecimal getBigDecimal()
getBigDecimal in interface ValueObjectpublic byte[] getBytes()
getBytes in interface ValueObjectpublic BigInteger getBigInteger()
getBigInteger in interface ValueObjectpublic Date getDate(Calendar cal) throws ParseException
getDate in interface ValueObjectParseExceptionpublic Time getTime(Calendar cal) throws ParseException
getTime in interface ValueObjectParseExceptionpublic Timestamp getTimestamp(Calendar cal) throws ParseException
getTimestamp in interface ValueObjectParseExceptionpublic InputStream getInputStream()
getInputStream in interface ValueObjectpublic InputStream getBinaryInputStream()
getBinaryInputStream in interface ValueObjectpublic boolean getBoolean()
getBoolean in interface ValueObjectpublic boolean isNull()
isNull in interface ValueObjectpublic int getDisplayLength()
getDisplayLength in interface ValueObjectpublic Blob getBlob()
getBlob in interface ValueObjectpublic Clob getClob()
getClob in interface ValueObjectpublic Object getObject(int datatypeMappingFlags, Calendar cal) throws ParseException
getObject in interface ValueObjectParseExceptionCopyright © 2015. All rights reserved.