Package org.mariadb.jdbc.message.client
Class QueryWithParametersPacket
- java.lang.Object
-
- org.mariadb.jdbc.message.client.QueryWithParametersPacket
-
- All Implemented Interfaces:
ClientMessage,RedoableClientMessage
public final class QueryWithParametersPacket extends Object implements RedoableClientMessage
-
-
Constructor Summary
Constructors Constructor Description QueryWithParametersPacket(String preSqlCmd, org.mariadb.jdbc.util.ClientParser parser, org.mariadb.jdbc.util.ParameterList parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intbatchUpdateLength()Stringdescription()intencode(PacketWriter encoder, Context context)voidensureReplayable(Context context)voidsaveParameters()-
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
binaryProtocol, canSkipMeta, readPacket
-
Methods inherited from interface org.mariadb.jdbc.message.client.RedoableClientMessage
encode, reEncode
-
-
-
-
Constructor Detail
-
QueryWithParametersPacket
public QueryWithParametersPacket(String preSqlCmd, org.mariadb.jdbc.util.ClientParser parser, org.mariadb.jdbc.util.ParameterList parameters)
-
-
Method Detail
-
ensureReplayable
public void ensureReplayable(Context context) throws IOException, SQLException
- Specified by:
ensureReplayablein interfaceRedoableClientMessage- Throws:
IOExceptionSQLException
-
saveParameters
public void saveParameters()
- Specified by:
saveParametersin interfaceRedoableClientMessage
-
encode
public int encode(PacketWriter encoder, Context context) throws IOException, SQLException
- Specified by:
encodein interfaceClientMessage- Throws:
IOExceptionSQLException
-
batchUpdateLength
public int batchUpdateLength()
- Specified by:
batchUpdateLengthin interfaceClientMessage
-
description
public String description()
- Specified by:
descriptionin interfaceClientMessage
-
-