public class TIMESTAMP extends Datum implements Serializable
| Constructor and Description |
|---|
TIMESTAMP() |
TIMESTAMP(byte[] bytes) |
TIMESTAMP(Date date) |
TIMESTAMP(String str) |
TIMESTAMP(Time time) |
TIMESTAMP(Timestamp timestamp) |
TIMESTAMP(Timestamp timestamp,
Calendar calendar) |
| Modifier and Type | Method and Description |
|---|---|
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 in class DatumSQLExceptionpublic Timestamp timestampValue(Calendar calendar) throws SQLException
timestampValue in class DatumSQLExceptionpublic static String toString(byte[] bytes)
public byte[] toBytes()
public static byte[] toBytes(String str)
public Object toJdbc() throws SQLException
toJdbc in class DatumSQLExceptionpublic Object makeJdbcArray(int len)
makeJdbcArray in class Datumpublic boolean isConvertibleTo(Class clazz)
isConvertibleTo in class Datumpublic String stringValue()
stringValue in class Datumpublic Date dateValue() throws SQLException
dateValue in class DatumSQLExceptionpublic Time timeValue() throws SQLException
timeValue in class DatumSQLExceptionCopyright © 2022 oceanbase.com. All rights reserved.