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 ColumnDefinitionread(ProtocolEntityFactory<ColumnDefinition,NativePacketPayload> sf)protected FieldunpackField(NativePacketPayload packet, java.lang.String characterSetMetadata)Unpacks the Field information from the given packet.
-
Constructor Details
-
Method Details
-
read
- Specified by:
readin interfaceProtocolEntityReader<ColumnDefinition,NativePacketPayload>- Parameters:
sf-ProtocolEntityFactoryinstance- Returns:
ProtocolEntityinstance
-
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
-