public class NullParameter extends Object implements ParameterHolder, Cloneable
BINARY_INTRODUCER, QUOTE| Constructor and Description |
|---|
NullParameter() |
NullParameter(ColumnType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeLongData() |
int |
getApproximateTextProtocolLength() |
ColumnType |
getColumnType() |
boolean |
isNullData() |
String |
toString() |
void |
writeBinary(PacketOutputStream pos)
Write data to socket in binary format.
|
void |
writeTo(PacketOutputStream os)
Write parameter value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitwriteLongDatapublic NullParameter()
public NullParameter(ColumnType type)
public void writeTo(PacketOutputStream os) throws IOException
ParameterHolderwriteTo in interface ParameterHolderos - the stream to write toIOException - when something goes wrongpublic int getApproximateTextProtocolLength()
getApproximateTextProtocolLength in interface ParameterHolderpublic void writeBinary(PacketOutputStream pos)
writeBinary in interface ParameterHolderpos - socket output streampublic ColumnType getColumnType()
getColumnType in interface ParameterHolderpublic String toString()
toString in interface ParameterHoldertoString in class Objectpublic boolean isNullData()
isNullData in interface ParameterHolderpublic boolean canBeLongData()
canBeLongData in interface ParameterHolderCopyright © 2020 mariadb.com. All rights reserved.