Package org.mariadb.jdbc.message.client
Class ClosePreparePacket
java.lang.Object
org.mariadb.jdbc.message.client.ClosePreparePacket
- All Implemented Interfaces:
ClientMessage
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
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
-
Field Details
-
statementId
private final int statementId
-
-
Constructor Details
-
ClosePreparePacket
public ClosePreparePacket(int statementId)
-
-
Method Details
-
encode
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
-