public final class PrepareQueryMessage extends Object implements ClientMessage
| Constructor and Description |
|---|
PrepareQueryMessage(String sql) |
| Modifier and Type | Method and Description |
|---|---|
Flux<io.netty.buffer.ByteBuf> |
encode(io.netty.buffer.ByteBufAllocator allocator,
ConnectionContext context)
Encode a message into
ByteBufs. |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisCumulative, isSequenceResetpublic PrepareQueryMessage(String sql)
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–2024 asyncer.io. All rights reserved.