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