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.

getColumn()

public abstract String getColumn()

Column name.

string column = 1;

Returns
Type Description
String

The column.

getColumnBytes()

public abstract ByteString getColumnBytes()

Column name.

string column = 1;

Returns
Type Description
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
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.

getPrecision()

public abstract int getPrecision()

Column precision.

int32 precision = 8;

Returns
Type Description
int

The precision.

getPrimaryKey()

public abstract boolean getPrimaryKey()

Whether or not the column represents a primary key.

bool primary_key = 5;

Returns
Type Description
boolean

The primaryKey.

getScale()

public abstract int getScale()

Column scale.

int32 scale = 9;

Returns
Type Description
int

The scale.