public static interface ChangeStreamRecord.DataChangeRecord.ColumnMetadataOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getIsPrimaryKey()
public abstract boolean getIsPrimaryKey()Indicates whether the column is a primary key column.
bool is_primary_key = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
The isPrimaryKey. |
getName()
public abstract String getName()Name of the column.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Name of the column.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getOrdinalPosition()
public abstract long getOrdinalPosition()Ordinal position of the column based on the original table definition in the schema starting with a value of 1.
int64 ordinal_position = 4;
| Returns | |
|---|---|
| Type | Description |
long |
The ordinalPosition. |
getType()
public abstract Type getType()Type of the column.
.google.spanner.v1.Type type = 2;
| Returns | |
|---|---|
| Type | Description |
Type |
The type. |
getTypeOrBuilder()
public abstract TypeOrBuilder getTypeOrBuilder()Type of the column.
.google.spanner.v1.Type type = 2;
| Returns | |
|---|---|
| Type | Description |
TypeOrBuilder |
|
hasType()
public abstract boolean hasType()Type of the column.
.google.spanner.v1.Type type = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the type field is set. |