public final class PreparedFetchMessage extends Object implements ExchangeableMessage
PreparedExecuteMessage.
Note: last request must be PreparedExecuteMessage and it must be cursored.
| コンストラクタと説明 |
|---|
PreparedFetchMessage(int statementId,
int fetchSize) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Mono<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. |
boolean |
equals(Object o) |
int |
hashCode() |
protected int |
size() |
String |
toString() |
protected void |
writeTo(io.netty.buffer.ByteBuf buf) |
encodeprotected int size()
Envelopes.MAX_ENVELOPE_SIZEprotected void writeTo(io.netty.buffer.ByteBuf buf)
public Mono<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 contextPublisher that produces ByteBufs sliced by Envelopes.MAX_ENVELOPE_SIZE, which containing the encoded message.Copyright © 2018–2020. All rights reserved.