Interface MysqlColumnOrBuilder (1.26.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.

getColumn()

public abstract String getColumn()

Column name.

string column = 1;

Returns
TypeDescription
String

The column.

getColumnBytes()

public abstract ByteString getColumnBytes()

Column name.

string column = 1;

Returns
TypeDescription
ByteString

The bytes for column.

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.

getPrecision()

public abstract int getPrecision()

Column precision.

int32 precision = 8;

Returns
TypeDescription
int

The precision.

getPrimaryKey()

public abstract boolean getPrimaryKey()

Whether or not the column represents a primary key.

bool primary_key = 5;

Returns
TypeDescription
boolean

The primaryKey.

getScale()

public abstract int getScale()

Column scale.

int32 scale = 9;

Returns
TypeDescription
int

The scale.