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