public interface MySqlColumnMetadata extends ColumnMetadata
ColumnMetadata considers MySQL| Modifier and Type | Method and Description |
|---|---|
CharCollation |
getCharCollation(CodecContext context)
Gets the
CharCollation used for stringification type. |
default Class<?> |
getJavaType() |
long |
getNativePrecision()
Gets the field max size that's defined by the table, the original type is an unsigned int32.
|
MySqlTypeMetadata |
getNativeTypeMetadata() |
MySqlType |
getType() |
getName, getNullability, getPrecision, getScaleMySqlType getType()
getType in interface ReadableMetadataMySqlTypeMetadata getNativeTypeMetadata()
getNativeTypeMetadata in interface ReadableMetadataCharCollation getCharCollation(CodecContext context)
CharCollation used for stringification type. It will not be a binary collation.context - the codec context for load the default character collation on the server-side.CharCollation.long getNativePrecision()
default Class<?> getJavaType()
getJavaType in interface ReadableMetadataCopyright © 2018–2023 asyncer.io. All rights reserved.