Interface MysqlColumnOrBuilder (1.4.0)

public interface MysqlColumnOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCollation()

public abstract String getCollation()

Column collation.

string collation = 4;

Returns
TypeDescription
String

The collation.

getCollationBytes()

public abstract ByteString getCollationBytes()

Column collation.

string collation = 4;

Returns
TypeDescription
ByteString

The bytes for collation.

getColumnName()

public abstract String getColumnName()

Column name.

string column_name = 1;

Returns
TypeDescription
String

The columnName.

getColumnNameBytes()

public abstract ByteString getColumnNameBytes()

Column name.

string column_name = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for dataType.

getLength()

public abstract int getLength()

Column length.

int32 length = 3;

Returns
TypeDescription
int

The length.

getNullable()

public abstract boolean getNullable()

Whether or not the column can accept a null value.

bool nullable = 6;

Returns
TypeDescription
boolean

The nullable.

getOrdinalPosition()

public abstract int getOrdinalPosition()

The ordinal position of the column in the table.

int32 ordinal_position = 7;

Returns
TypeDescription
int

The ordinalPosition.

getPrimaryKey()

public abstract boolean getPrimaryKey()

Whether or not the column represents a primary key.

bool primary_key = 5;

Returns
TypeDescription
boolean

The primaryKey.