public class SerializableParameter extends Object implements Cloneable, ParameterHolder
| 限定符和类型 | 字段和说明 |
|---|---|
protected byte[] |
loadedStream |
protected boolean |
noBackSlashEscapes |
protected Object |
object |
BINARY_INTRODUCER, QUOTE| 构造器和说明 |
|---|
SerializableParameter(Object object,
boolean noBackslashEscapes) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getApproximateTextProtocolLength()
Return approximated data calculated length.
|
ColumnType |
getColumnType() |
boolean |
isLongData() |
boolean |
isNullData() |
String |
toString() |
void |
writeBinary(PacketOutputStream pos)
Write data to socket in binary format.
|
protected void |
writeObjectToBytes() |
void |
writeTo(PacketOutputStream pos)
Write object to buffer for text protocol.
|
protected final boolean noBackSlashEscapes
protected Object object
protected byte[] loadedStream
public SerializableParameter(Object object, boolean noBackslashEscapes)
public void writeTo(PacketOutputStream pos) throws IOException
writeTo 在接口中 ParameterHolderpos - the stream to write toIOException - if error reading streamprotected void writeObjectToBytes()
throws IOException
IOExceptionpublic int getApproximateTextProtocolLength()
throws IOException
getApproximateTextProtocolLength 在接口中 ParameterHolderIOException - if error reading streampublic void writeBinary(PacketOutputStream pos) throws IOException
writeBinary 在接口中 ParameterHolderpos - socket output streamIOException - if socket error occurpublic String toString()
toString 在接口中 ParameterHoldertoString 在类中 Objectpublic ColumnType getColumnType()
getColumnType 在接口中 ParameterHolderpublic boolean isNullData()
isNullData 在接口中 ParameterHolderpublic boolean isLongData()
isLongData 在接口中 ParameterHolderCopyright © 2024 oceanbase.com. All rights reserved.