public final class LongDataPacket extends Object implements ClientMessage
Permit 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 and Description |
|---|
LongDataPacket(int statementId,
com.singlestore.jdbc.codec.Parameter<?> parameter,
int index) |
| Modifier and Type | Method and Description |
|---|---|
int |
encode(PacketWriter writer,
Context context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchUpdateLength, binaryProtocol, canSkipMeta, description, readPacketpublic LongDataPacket(int statementId,
com.singlestore.jdbc.codec.Parameter<?> parameter,
int index)
public int encode(PacketWriter writer, Context context) throws IOException, SQLException
encode in interface ClientMessageIOExceptionSQLExceptionCopyright © 2023 SingleStore. All rights reserved.