Interface SpannerColumnOrBuilder (1.102.0)

public interface SpannerColumnOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getColumn()

public abstract String getColumn()

Required. The column name.

string column = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The column.

getColumnBytes()

public abstract ByteString getColumnBytes()

Required. The column name.

string column = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for column.

getDataType()

public abstract String getDataType()

Optional. Spanner data type.

string data_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The dataType.

getDataTypeBytes()

public abstract ByteString getDataTypeBytes()

Optional. Spanner data type.

string data_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for dataType.

getIsPrimaryKey()

public abstract boolean getIsPrimaryKey()

Optional. Whether or not the column is a primary key.

bool is_primary_key = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The isPrimaryKey.

getOrdinalPosition()

public abstract long getOrdinalPosition()

Optional. The ordinal position of the column in the table.

int64 ordinal_position = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The ordinalPosition.