public final class DoneInProcToken extends AbstractDoneToken
| Modifier and Type | Field and Description |
|---|---|
static byte |
TYPE |
LENGTH| Modifier and Type | Method and Description |
|---|---|
static DoneInProcToken |
create(long rowCount)
Creates a new
DoneInProcToken indicating a final packet and rowCount. |
static DoneInProcToken |
decode(io.netty.buffer.ByteBuf buffer)
Decode the
DoneInProcToken response from a ByteBuf. |
String |
getName() |
static boolean |
isDone(io.r2dbc.mssql.message.Message message)
Check whether the the
Message represents a finished DoneInProcToken. |
canDecode, encode, equals, getCurrentCommand, getRowCount, getStatus, hasCount, hasCount, hashCode, hasMore, isAttentionAck, isAttentionAck, isDone, isError, toString, valuegetTypepublic static final byte TYPE
public static DoneInProcToken create(long rowCount)
DoneInProcToken indicating a final packet and rowCount.rowCount - the row count.DoneInProcToken.public static boolean isDone(io.r2dbc.mssql.message.Message message)
Message represents a finished DoneInProcToken.message - the message to inspect.Message represents a finished DoneInProcToken.public static DoneInProcToken decode(io.netty.buffer.ByteBuf buffer)
DoneInProcToken response from a ByteBuf.buffer - must not be null.DoneInProcToken.public String getName()
getName in interface DataTokengetName in class AbstractDataTokenAbstractDataToken.Copyright © 2023. All rights reserved.