public class ShortParameter extends Object implements ParameterHolder, Cloneable
| Constructor and Description |
|---|
ShortParameter(short value) |
| Modifier and Type | Method and Description |
|---|---|
long |
getApproximateTextProtocolLength() |
MariaDbType |
getMariaDbType() |
boolean |
isLongData() |
boolean |
isNullData() |
String |
toString() |
void |
writeBinary(PacketOutputStream writeBuffer) |
void |
writeTo(PacketOutputStream os)
Write parameter value.
|
void |
writeUnsafeTo(PacketOutputStream os) |
public void writeTo(PacketOutputStream os)
ParameterHolderwriteTo in interface ParameterHolderos - the stream to write topublic void writeUnsafeTo(PacketOutputStream os)
writeUnsafeTo in interface ParameterHolderpublic long getApproximateTextProtocolLength()
throws IOException
getApproximateTextProtocolLength in interface ParameterHolderIOExceptionpublic void writeBinary(PacketOutputStream writeBuffer)
writeBinary in interface ParameterHolderpublic MariaDbType getMariaDbType()
getMariaDbType in interface ParameterHolderpublic String toString()
toString in interface ParameterHoldertoString in class Objectpublic boolean isLongData()
isLongData in interface ParameterHolderpublic boolean isNullData()
isNullData in interface ParameterHolderCopyright © 2016. All rights reserved.