Package org.mariadb.jdbc.message.client
Class LongDataPacket
- java.lang.Object
-
- org.mariadb.jdbc.message.client.LongDataPacket
-
- All Implemented Interfaces:
ClientMessage
public final class LongDataPacket extends Object implements ClientMessage
COM_STMT_SEND_LONG_DATAPermit to send ONE value in a dedicated packet. The advantage is when length is unknown, to stream easily data to socket
https://mariadb.com/kb/en/com_stmt_send_long_data/
-
-
Constructor Summary
Constructors Constructor Description LongDataPacket(int statementId, org.mariadb.jdbc.codec.Parameter<?> parameter, int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intencode(PacketWriter writer, Context context)-
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
batchUpdateLength, binaryProtocol, canSkipMeta, description, readPacket
-
-
-
-
Method Detail
-
encode
public int encode(PacketWriter writer, Context context) throws IOException, SQLException
- Specified by:
encodein interfaceClientMessage- Throws:
IOExceptionSQLException
-
-