Package org.mariadb.jdbc.message.client
Class ChangeDbPacket
- java.lang.Object
-
- org.mariadb.jdbc.message.client.ChangeDbPacket
-
- All Implemented Interfaces:
ClientMessage
,RedoableClientMessage
public final class ChangeDbPacket extends java.lang.Object implements RedoableClientMessage
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
database
-
Constructor Summary
Constructors Constructor Description ChangeDbPacket(java.lang.String database)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
encode(PacketWriter writer, Context context)
-
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
-
Methods inherited from interface org.mariadb.jdbc.message.client.RedoableClientMessage
encode, ensureReplayable, reEncode, saveParameters
-
-
-
-
Method Detail
-
encode
public int encode(PacketWriter writer, Context context) throws java.io.IOException
- Specified by:
encode
in interfaceClientMessage
- Throws:
java.io.IOException
-
-