Package org.mariadb.jdbc.message.client
Interface RedoableWithPrepareClientMessage
- All Superinterfaces:
ClientMessage
,RedoableClientMessage
- All Known Implementing Classes:
BulkExecutePacket
,ExecutePacket
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
encode
(PacketWriter writer, Context context) int
encode
(PacketWriter writer, Context context, PrepareResultPacket newPrepareResult) prep()
default int
reEncode
(PacketWriter writer, Context context, PrepareResultPacket newPrepareResult) default void
void
setPrepareResult
(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 Details
-
getCommand
String getCommand() -
prep
ServerPreparedStatement prep() -
encode
- Specified by:
encode
in interfaceClientMessage
- Throws:
IOException
SQLException
-
encode
int encode(PacketWriter writer, Context context, PrepareResultPacket newPrepareResult) throws IOException, SQLException - Specified by:
encode
in interfaceRedoableClientMessage
- Throws:
IOException
SQLException
-
reEncode
default int reEncode(PacketWriter writer, Context context, PrepareResultPacket newPrepareResult) throws IOException, SQLException - Specified by:
reEncode
in interfaceRedoableClientMessage
- Throws:
IOException
SQLException
-
setPrepareResult
-
rePrepare
- Throws:
SQLException
-