- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.1.1
- 1.0.0
- 0.4.2
public interface MysqlColumnOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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. |