| Modifier and Type | Field and Description |
|---|---|
static BooleanCodec |
INSTANCE |
| Constructor and Description |
|---|
BooleanCodec() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDecode(ColumnDefinitionPacket column,
Class<?> type) |
boolean |
canEncode(Class<?> value) |
Boolean |
decodeBinary(io.netty.buffer.ByteBuf buf,
int length,
ColumnDefinitionPacket column,
Class<? extends Boolean> type) |
Boolean |
decodeText(io.netty.buffer.ByteBuf buf,
int length,
ColumnDefinitionPacket column,
Class<? extends Boolean> type) |
void |
encodeBinary(io.netty.buffer.ByteBuf buf,
org.mariadb.r2dbc.client.Context context,
Boolean value) |
void |
encodeText(io.netty.buffer.ByteBuf buf,
org.mariadb.r2dbc.client.Context context,
Boolean value) |
DataType |
getBinaryEncodeType() |
public static final BooleanCodec INSTANCE
public boolean canDecode(ColumnDefinitionPacket column, Class<?> type)
public boolean canEncode(Class<?> value)
public Boolean decodeText(io.netty.buffer.ByteBuf buf, int length, ColumnDefinitionPacket column, Class<? extends Boolean> type)
decodeText in interface Codec<Boolean>public Boolean decodeBinary(io.netty.buffer.ByteBuf buf, int length, ColumnDefinitionPacket column, Class<? extends Boolean> type)
decodeBinary in interface Codec<Boolean>public void encodeText(io.netty.buffer.ByteBuf buf,
org.mariadb.r2dbc.client.Context context,
Boolean value)
encodeText in interface Codec<Boolean>public void encodeBinary(io.netty.buffer.ByteBuf buf,
org.mariadb.r2dbc.client.Context context,
Boolean value)
encodeBinary in interface Codec<Boolean>public DataType getBinaryEncodeType()
getBinaryEncodeType in interface Codec<Boolean>Copyright © 2020 MariaDB Corporation Ab. All rights reserved.