Package org.mariadb.jdbc.message.client
Class ClosePreparePacket
- java.lang.Object
-
- org.mariadb.jdbc.message.client.ClosePreparePacket
-
- All Implemented Interfaces:
ClientMessage
public final class ClosePreparePacket extends Object implements ClientMessage
-
-
Constructor Summary
Constructors Constructor Description ClosePreparePacket(int statementId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
encode(PacketWriter writer, Context context)
COM_STMT_CLOSE packet.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.mariadb.jdbc.message.client.ClientMessage
batchUpdateLength, binaryProtocol, canSkipMeta, description, readPacket
-
-
-
-
Method Detail
-
encode
public int encode(PacketWriter writer, Context context) throws IOException
COM_STMT_CLOSE packet. See https://mariadb.com/kb/en/3-binary-protocol-prepared-statements-com_stmt_close/- Specified by:
encode
in interfaceClientMessage
- Throws:
IOException
-
-