public final class PreparedLargeDataMessage extends Object implements ClientMessage
Note: it must be sent before PreparedExecuteMessage.
| Constructor and Description |
|---|
PreparedLargeDataMessage(int statementId,
int parameterId,
Publisher<io.netty.buffer.ByteBuf> data) |
| Modifier and Type | Method and Description |
|---|---|
Flux<io.netty.buffer.ByteBuf> |
encode(io.netty.buffer.ByteBufAllocator allocator,
ConnectionContext context)
Encode a message into
ByteBufs. |
public PreparedLargeDataMessage(int statementId,
int parameterId,
Publisher<io.netty.buffer.ByteBuf> data)
public Flux<io.netty.buffer.ByteBuf> encode(io.netty.buffer.ByteBufAllocator allocator, ConnectionContext context)
ClientMessageByteBufs.encode in interface ClientMessageallocator - the ByteBufAllocator that use to get ByteBuf to write into.context - current MySQL connection context.Flux that's produces the encoded ByteBufs.Copyright © 2018–2023 asyncer.io. All rights reserved.