public final class PreparedFetchMessage extends Object
PreparedExecuteMessage.
Note: last request must be PreparedExecuteMessage and it must be cursored.
| Constructor and Description |
|---|
PreparedFetchMessage(int statementId,
int fetchSize) |
| Modifier and Type | Method and Description |
|---|---|
Mono<io.netty.buffer.ByteBuf> |
encode(io.netty.buffer.ByteBufAllocator allocator,
ConnectionContext context)
Encode a message into
ByteBufs. |
boolean |
equals(Object o) |
int |
hashCode() |
protected int |
size() |
String |
toString() |
protected void |
writeTo(io.netty.buffer.ByteBuf buf) |
protected int size()
protected void writeTo(io.netty.buffer.ByteBuf buf)
public Mono<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.