public class OBTIMESTAMPParameter extends Object implements Cloneable, ParameterHolder
BINARY_INTRODUCER, QUOTE| 构造器和说明 |
|---|
OBTIMESTAMPParameter(Timestamp ts,
TimeZone timeZone,
boolean fractionalSeconds)
Constructor.
|
OBTIMESTAMPParameter(Timestamp ts,
TimeZone timeZone,
boolean fractionalSeconds,
boolean isDate) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getApproximateTextProtocolLength() |
ColumnType |
getColumnType() |
boolean |
isLongData() |
boolean |
isNullData() |
String |
toString() |
void |
writeBinary(PacketOutputStream pos)
Write data to socket in binary format.
|
void |
writeTo(PacketOutputStream pos)
Write timestamps to outputStream.
|
public OBTIMESTAMPParameter(Timestamp ts, TimeZone timeZone, boolean fractionalSeconds)
ts - timestampstimeZone - timeZonefractionalSeconds - must fractional Seconds be send to database.public void writeTo(PacketOutputStream pos) throws IOException
writeTo 在接口中 ParameterHolderpos - the stream to write toIOException - when something goes wrongpublic int getApproximateTextProtocolLength()
public void writeBinary(PacketOutputStream pos) throws IOException
writeBinary 在接口中 ParameterHolderpos - socket output streamIOException - if socket error occurpublic ColumnType getColumnType()
getColumnType 在接口中 ParameterHolderpublic String toString()
toString 在接口中 ParameterHoldertoString 在类中 Objectpublic boolean isNullData()
isNullData 在接口中 ParameterHolderpublic boolean isLongData()
isLongData 在接口中 ParameterHolderCopyright © 2024 oceanbase.com. All rights reserved.