public abstract class Datum extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
data |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
asciiStreamValue() |
BigDecimal |
bigDecimalValue() |
InputStream |
binaryStreamValue() |
boolean |
booleanValue() |
byte |
byteValue() |
Reader |
characterStreamValue() |
Date |
dateValue() |
double |
doubleValue() |
boolean |
equals(Object object) |
float |
floatValue() |
byte[] |
getBytes() |
long |
getLength() |
InputStream |
getStream() |
int |
intValue() |
abstract boolean |
isConvertibleTo(Class targetClass) |
long |
longValue() |
abstract Object |
makeJdbcArray(int intVal) |
void |
setByte(int index,
byte b) |
void |
setBytes(byte[] bytes) |
void |
setShareBytes(byte[] bytes) |
byte[] |
shareBytes() |
String |
stringValue() |
String |
stringValue(Connection connection) |
Timestamp |
timestampValue() |
Timestamp |
timestampValue(Calendar calendar) |
Time |
timeValue() |
Time |
timeValue(Calendar calendar) |
abstract Object |
toJdbc() |
public byte[] shareBytes()
public long getLength()
public void setBytes(byte[] bytes)
public void setShareBytes(byte[] bytes)
public byte[] getBytes()
public void setByte(int index,
byte b)
public InputStream getStream()
public String stringValue() throws SQLException
SQLExceptionpublic String stringValue(Connection connection) throws SQLException
SQLExceptionpublic boolean booleanValue()
throws SQLException
SQLExceptionpublic int intValue()
throws SQLException
SQLExceptionpublic long longValue()
throws SQLException
SQLExceptionpublic float floatValue()
throws SQLException
SQLExceptionpublic double doubleValue()
throws SQLException
SQLExceptionpublic byte byteValue()
throws SQLException
SQLExceptionpublic BigDecimal bigDecimalValue() throws SQLException
SQLExceptionpublic Date dateValue() throws SQLException
SQLExceptionpublic Time timeValue() throws SQLException
SQLExceptionpublic Time timeValue(Calendar calendar) throws SQLException
SQLExceptionpublic Timestamp timestampValue() throws SQLException
SQLExceptionpublic Timestamp timestampValue(Calendar calendar) throws SQLException
SQLExceptionpublic Reader characterStreamValue() throws SQLException
SQLExceptionpublic InputStream asciiStreamValue() throws SQLException
SQLExceptionpublic InputStream binaryStreamValue() throws SQLException
SQLExceptionpublic abstract boolean isConvertibleTo(Class targetClass)
public abstract Object toJdbc() throws SQLException
SQLExceptionpublic abstract Object makeJdbcArray(int intVal)
Copyright © 2022 oceanbase.com. All rights reserved.