public final class PreparedLargeDataMessage extends Object implements SendOnlyMessage
Note: it must be sent before PreparedExecuteMessage.
| コンストラクタと説明 |
|---|
PreparedLargeDataMessage(int statementId,
int parameterId,
Publisher<io.netty.buffer.ByteBuf> data) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Flux<io.netty.buffer.ByteBuf> |
encode(io.netty.buffer.ByteBufAllocator allocator,
dev.miku.r2dbc.mysql.util.ConnectionContext context)
Encode a message into a
ByteBuf data buffer without envelope header. |
protected Publisher<io.netty.buffer.ByteBuf> |
fragments(io.netty.buffer.ByteBufAllocator allocator,
dev.miku.r2dbc.mysql.util.ConnectionContext context)
Returning any length fragments of encoded message that do not care about envelopes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitencodepublic PreparedLargeDataMessage(int statementId,
int parameterId,
Publisher<io.netty.buffer.ByteBuf> data)
protected Publisher<io.netty.buffer.ByteBuf> fragments(io.netty.buffer.ByteBufAllocator allocator, dev.miku.r2dbc.mysql.util.ConnectionContext context)
allocator - the ByteBufAllocator to use to get a ByteBuf data buffer to write into.context - current MySQL connection contextpublic Flux<io.netty.buffer.ByteBuf> encode(io.netty.buffer.ByteBufAllocator allocator, dev.miku.r2dbc.mysql.util.ConnectionContext context)
ClientMessageByteBuf data buffer without envelope header.encode インタフェース内 ClientMessageallocator - the ByteBufAllocator to use to get a ByteBuf data buffer to write into.context - current MySQL connection contextByteBufs sliced by Envelopes.MAX_ENVELOPE_SIZECopyright © 2018–2020. All rights reserved.