Interface MysqlColumnOrBuilder (1.43.0)

public interface MysqlColumnOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCollation()

public abstract String getCollation()

Column collation.

string collation = 4;

Returns
Type Description
String

The collation.

getCollationBytes()

public abstract ByteString getCollationBytes()

Column collation.

string collation = 4;

Returns
Type Description
ByteString

The bytes for collation.

getColumnName()

public abstract String getColumnName()

Column name.

string column_name = 1;

Returns
Type Description
String

The columnName.

getColumnNameBytes()

public abstract ByteString getColumnNameBytes()

Column name.

string column_name = 1;

Returns
Type Description
ByteString

The bytes for columnName.

getDataType()

public abstract 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
Type Description
String

The dataType.

getDataTypeBytes()

public abstract 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
Type Description
ByteString

The bytes for dataType.

getLength()

public abstract int getLength()

Column length.

int32 length = 3;

Returns
Type Description
int

The length.

getNullable()

public abstract boolean getNullable()

Whether or not the column can accept a null value.

bool nullable = 6;

Returns
Type Description
boolean

The nullable.

getOrdinalPosition()

public abstract int getOrdinalPosition()

The ordinal position of the column in the table.

int32 ordinal_position = 7;

Returns
Type Description
int

The ordinalPosition.

getPrimaryKey()

public abstract boolean getPrimaryKey()

Whether or not the column represents a primary key.

bool primary_key = 5;

Returns
Type Description
boolean

The primaryKey.