Package org.mariadb.jdbc.message.client
Interface RedoableWithPrepareClientMessage
-
- All Superinterfaces:
ClientMessage,RedoableClientMessage
- All Known Implementing Classes:
BulkExecutePacket,ExecutePacket
public interface RedoableWithPrepareClientMessage extends RedoableClientMessage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default intencode(PacketWriter writer, Context context)intencode(PacketWriter writer, Context context, PrepareResultPacket newPrepareResult)StringgetCommand()ServerPreparedStatementprep()default intreEncode(PacketWriter writer, Context context, PrepareResultPacket newPrepareResult)default voidrePrepare(org.mariadb.jdbc.client.Client client)voidsetPrepareResult(PrepareResultPacket prepareResult)-
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
ensureReplayable, saveParameters
-
-
-
-
Method Detail
-
getCommand
String getCommand()
-
prep
ServerPreparedStatement prep()
-
encode
default int encode(PacketWriter writer, Context context) throws IOException, SQLException
- Specified by:
encodein interfaceClientMessage- Throws:
IOExceptionSQLException
-
encode
int encode(PacketWriter writer, Context context, PrepareResultPacket newPrepareResult) throws IOException, SQLException
- Specified by:
encodein interfaceRedoableClientMessage- Throws:
IOExceptionSQLException
-
reEncode
default int reEncode(PacketWriter writer, Context context, PrepareResultPacket newPrepareResult) throws IOException, SQLException
- Specified by:
reEncodein interfaceRedoableClientMessage- Throws:
IOExceptionSQLException
-
setPrepareResult
void setPrepareResult(PrepareResultPacket prepareResult)
-
rePrepare
default void rePrepare(org.mariadb.jdbc.client.Client client) throws SQLException- Throws:
SQLException
-
-