public static class Tabular.TabularDecoder extends Object
Tabular.TabularDecoder. State is required to decode response chunks in multiple attempts/calls to a DecodeFunction. Typically, state is a previous
column description for row results.| Modifier and Type | Method and Description |
|---|---|
List<DataToken> |
decode(io.netty.buffer.ByteBuf buffer)
Decode the
Tabular response from a ByteBuf. |
boolean |
decode(io.netty.buffer.ByteBuf buffer,
SynchronousSink<io.r2dbc.mssql.message.Message> messageConsumer)
Decode the
Tabular response from a ByteBuf. |
public List<DataToken> decode(io.netty.buffer.ByteBuf buffer)
Tabular response from a ByteBuf.buffer - must not be null.Tabular response Message.public boolean decode(io.netty.buffer.ByteBuf buffer,
SynchronousSink<io.r2dbc.mssql.message.Message> messageConsumer)
Tabular response from a ByteBuf.buffer - must not be null.messageConsumer - sink to consume decoded frames.Tabular response Message.Copyright © 2023. All rights reserved.