public final class PrepareQueryMessage extends Object implements ExchangeableMessage
| コンストラクタと説明 |
|---|
PrepareQueryMessage(CharSequence sql) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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. |
boolean |
equals(Object o) |
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.
|
CharSequence |
getSql() |
int |
hashCode() |
String |
toString() |
encodepublic PrepareQueryMessage(CharSequence sql)
public CharSequence getSql()
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.