public class TIMESTAMP extends Datum implements Serializable
| 构造器和说明 |
|---|
TIMESTAMP() |
TIMESTAMP(byte[] bytes) |
TIMESTAMP(Date date) |
TIMESTAMP(String str) |
TIMESTAMP(Time time) |
TIMESTAMP(Timestamp timestamp) |
TIMESTAMP(Timestamp timestamp,
Calendar calendar) |
| 限定符和类型 | 方法和说明 |
|---|---|
Date |
dateValue() |
boolean |
isConvertibleTo(Class clazz) |
Object |
makeJdbcArray(int len) |
String |
stringValue() |
Timestamp |
timestampValue() |
Timestamp |
timestampValue(Calendar calendar) |
Time |
timeValue() |
byte[] |
toBytes() |
static byte[] |
toBytes(String str) |
Object |
toJdbc() |
String |
toString() |
static String |
toString(byte[] bytes) |
static Timestamp |
toTimestamp(byte[] bytes) |
static Timestamp |
toTimestamp(byte[] bytes,
Calendar calendar) |
asciiStreamValue, bigDecimalValue, binaryStreamValue, booleanValue, byteValue, characterStreamValue, doubleValue, equals, floatValue, getBytes, getLength, getStream, intValue, longValue, setByte, setBytes, setShareBytes, shareBytes, stringValue, timeValuepublic TIMESTAMP()
public TIMESTAMP(byte[] bytes)
public TIMESTAMP(Time time)
public TIMESTAMP(Date date)
public TIMESTAMP(Timestamp timestamp)
public TIMESTAMP(String str)
public static Timestamp toTimestamp(byte[] bytes) throws SQLException
SQLExceptionpublic static Timestamp toTimestamp(byte[] bytes, Calendar calendar) throws SQLException
SQLExceptionpublic Timestamp timestampValue() throws SQLException
timestampValue 在类中 DatumSQLExceptionpublic Timestamp timestampValue(Calendar calendar) throws SQLException
timestampValue 在类中 DatumSQLExceptionpublic static String toString(byte[] bytes)
public byte[] toBytes()
public static byte[] toBytes(String str)
public Object toJdbc() throws SQLException
toJdbc 在类中 DatumSQLExceptionpublic Object makeJdbcArray(int len)
makeJdbcArray 在类中 Datumpublic boolean isConvertibleTo(Class clazz)
isConvertibleTo 在类中 Datumpublic String stringValue()
stringValue 在类中 Datumpublic Date dateValue() throws SQLException
dateValue 在类中 DatumSQLExceptionpublic Time timeValue() throws SQLException
timeValue 在类中 DatumSQLExceptionCopyright © 2024 oceanbase.com. All rights reserved.