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