Package org.mariadb.jdbc.message.client
Class ExecutePacket
- java.lang.Object
-
- org.mariadb.jdbc.message.client.ExecutePacket
-
- All Implemented Interfaces:
RedoableClientMessage,RedoableWithPrepareClientMessage,org.mariadb.jdbc.message.ClientMessage
public final class ExecutePacket extends Object implements RedoableWithPrepareClientMessage
See https://mariadb.com/kb/en/com_stmt_execute/ for documentation
-
-
Constructor Summary
Constructors Constructor Description ExecutePacket(Prepare prepareResult, Parameters parameters, String command, ServerPreparedStatement prep)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intbatchUpdateLength()booleanbinaryProtocol()booleancanSkipMeta()Stringdescription()intencode(Writer writer, org.mariadb.jdbc.client.Context context, Prepare newPrepareResult)voidensureReplayable(org.mariadb.jdbc.client.Context context)StringgetCommand()ServerPreparedStatementprep()voidsaveParameters()voidsetPrepareResult(PrepareResultPacket prepareResult)-
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.RedoableWithPrepareClientMessage
encode, reEncode, rePrepare
-
-
-
-
Constructor Detail
-
ExecutePacket
public ExecutePacket(Prepare prepareResult, Parameters parameters, String command, ServerPreparedStatement prep)
-
-
Method Detail
-
saveParameters
public void saveParameters()
- Specified by:
saveParametersin interfaceRedoableClientMessage
-
ensureReplayable
public void ensureReplayable(org.mariadb.jdbc.client.Context context) throws IOException, SQLException- Specified by:
ensureReplayablein interfaceRedoableClientMessage- Throws:
IOExceptionSQLException
-
encode
public int encode(Writer writer, org.mariadb.jdbc.client.Context context, Prepare newPrepareResult) throws IOException, SQLException
- Specified by:
encodein interfaceRedoableClientMessage- Specified by:
encodein interfaceRedoableWithPrepareClientMessage- Throws:
IOExceptionSQLException
-
canSkipMeta
public boolean canSkipMeta()
- Specified by:
canSkipMetain interfaceorg.mariadb.jdbc.message.ClientMessage
-
batchUpdateLength
public int batchUpdateLength()
- Specified by:
batchUpdateLengthin interfaceorg.mariadb.jdbc.message.ClientMessage
-
getCommand
public String getCommand()
- Specified by:
getCommandin interfaceRedoableWithPrepareClientMessage
-
prep
public ServerPreparedStatement prep()
- Specified by:
prepin interfaceRedoableWithPrepareClientMessage
-
binaryProtocol
public boolean binaryProtocol()
- Specified by:
binaryProtocolin interfaceorg.mariadb.jdbc.message.ClientMessage
-
description
public String description()
- Specified by:
descriptionin interfaceorg.mariadb.jdbc.message.ClientMessage
-
setPrepareResult
public void setPrepareResult(PrepareResultPacket prepareResult)
- Specified by:
setPrepareResultin interfaceRedoableWithPrepareClientMessage
-
-