Package com.mysql.cj.protocol.a
Class ColumnDefinitionReader
java.lang.Object
com.mysql.cj.protocol.a.ColumnDefinitionReader
- All Implemented Interfaces:
ProtocolEntityReader<ColumnDefinition,NativePacketPayload>
public class ColumnDefinitionReader extends java.lang.Object implements ProtocolEntityReader<ColumnDefinition,NativePacketPayload>
-
Constructor Summary
Constructors Constructor Description ColumnDefinitionReader(NativeProtocol prot)
-
Method Summary
Modifier and Type Method Description ColumnDefinition
read(ProtocolEntityFactory<ColumnDefinition,NativePacketPayload> sf)
protected Field
unpackField(NativePacketPayload packet, java.lang.String characterSetMetadata)
Unpacks the Field information from the given packet.
-
Constructor Details
-
Method Details
-
read
- Specified by:
read
in interfaceProtocolEntityReader<ColumnDefinition,NativePacketPayload>
- Parameters:
sf
-ProtocolEntityFactory
instance- Returns:
ProtocolEntity
instance
-
unpackField
Unpacks the Field information from the given packet.- Parameters:
packet
- the packet containing the field informationcharacterSetMetadata
- encoding of the metadata in the packet- Returns:
- the unpacked field
-