Interface MysqlColumnOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MysqlColumn,MysqlColumn.Builder
public interface MysqlColumnOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCollation()Column collation.com.google.protobuf.ByteStringgetCollationBytes()Column collation.StringgetColumnName()Column name.com.google.protobuf.ByteStringgetColumnNameBytes()Column name.StringgetDataType()The MySQL data type.com.google.protobuf.ByteStringgetDataTypeBytes()The MySQL data type.intgetLength()Column length.booleangetNullable()Whether or not the column can accept a null value.intgetOrdinalPosition()The ordinal position of the column in the table.booleangetPrimaryKey()Whether or not the column represents a primary key.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getColumnName
String getColumnName()
Column name.
string column_name = 1;- Returns:
- The columnName.
-
getColumnNameBytes
com.google.protobuf.ByteString getColumnNameBytes()
Column name.
string column_name = 1;- Returns:
- The bytes for columnName.
-
getDataType
String getDataType()
The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
string data_type = 2;- Returns:
- The dataType.
-
getDataTypeBytes
com.google.protobuf.ByteString getDataTypeBytes()
The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
string data_type = 2;- Returns:
- The bytes for dataType.
-
getLength
int getLength()
Column length.
int32 length = 3;- Returns:
- The length.
-
getCollation
String getCollation()
Column collation.
string collation = 4;- Returns:
- The collation.
-
getCollationBytes
com.google.protobuf.ByteString getCollationBytes()
Column collation.
string collation = 4;- Returns:
- The bytes for collation.
-
getPrimaryKey
boolean getPrimaryKey()
Whether or not the column represents a primary key.
bool primary_key = 5;- Returns:
- The primaryKey.
-
getNullable
boolean getNullable()
Whether or not the column can accept a null value.
bool nullable = 6;- Returns:
- The nullable.
-
getOrdinalPosition
int getOrdinalPosition()
The ordinal position of the column in the table.
int32 ordinal_position = 7;- Returns:
- The ordinalPosition.
-
-