Package org.mariadb.r2dbc.message.client
Class PreparePacket
- java.lang.Object
-
- org.mariadb.r2dbc.message.client.PreparePacket
-
- All Implemented Interfaces:
ClientMessage
public final class PreparePacket extends Object implements ClientMessage
-
-
Constructor Summary
Constructors Constructor Description PreparePacket(String sql)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<io.netty.buffer.ByteBuf>encode(Context context, io.netty.buffer.ByteBufAllocator allocator)MessageSequencegetSequencer()StringgetSql()voidresetSequencer()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.mariadb.r2dbc.message.ClientMessage
releaseSave, save
-
-
-
-
Constructor Detail
-
PreparePacket
public PreparePacket(String sql)
-
-
Method Detail
-
getSql
public String getSql()
-
getSequencer
public MessageSequence getSequencer()
- Specified by:
getSequencerin interfaceClientMessage
-
resetSequencer
public void resetSequencer()
- Specified by:
resetSequencerin interfaceClientMessage
-
encode
public reactor.core.publisher.Mono<io.netty.buffer.ByteBuf> encode(Context context, io.netty.buffer.ByteBufAllocator allocator)
- Specified by:
encodein interfaceClientMessage
-
-