public class DoubleParameter extends Object implements Cloneable, ParameterHolder
BINARY_INTRODUCER, QUOTE| Constructor and Description |
|---|
DoubleParameter(double value) |
| Modifier and Type | Method and Description |
|---|---|
long |
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 parameter value.
|
public void writeTo(PacketOutputStream pos) throws IOException
ParameterHolderwriteTo in interface ParameterHolderpos - the stream to write toIOException - when something goes wrongpublic long getApproximateTextProtocolLength()
getApproximateTextProtocolLength in interface ParameterHolderpublic void writeBinary(PacketOutputStream pos) throws IOException
writeBinary in interface ParameterHolderpos - socket output streamIOException - if socket error occurpublic ColumnType getColumnType()
getColumnType in interface ParameterHolderpublic String toString()
toString in interface ParameterHoldertoString in class Objectpublic boolean isNullData()
isNullData in interface ParameterHolderpublic boolean isLongData()
isLongData in interface ParameterHolderCopyright © 2019 mariadb.org. All rights reserved.