Interface DataChangeRecordOrBuilder (6.77.0)

public interface DataChangeRecordOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getColumnTypes(int index)

public abstract DataChangeRecord.ColumnType getColumnTypes(int index)

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Parameter
Name Description
index int
Returns
Type Description
DataChangeRecord.ColumnType

getColumnTypesCount()

public abstract int getColumnTypesCount()

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Returns
Type Description
int

getColumnTypesList()

public abstract List<DataChangeRecord.ColumnType> getColumnTypesList()

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Returns
Type Description
List<ColumnType>

getColumnTypesOrBuilder(int index)

public abstract DataChangeRecord.ColumnTypeOrBuilder getColumnTypesOrBuilder(int index)

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Parameter
Name Description
index int
Returns
Type Description
DataChangeRecord.ColumnTypeOrBuilder

getColumnTypesOrBuilderList()

public abstract List<? extends DataChangeRecord.ColumnTypeOrBuilder> getColumnTypesOrBuilderList()

Column types defined in the schema.

repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;

Returns
Type Description
List<? extends com.google.spanner.executor.v1.DataChangeRecord.ColumnTypeOrBuilder>

getCommitTime()

public abstract Timestamp getCommitTime()

The timestamp in which the change was committed.

.google.protobuf.Timestamp commit_time = 1;

Returns
Type Description
Timestamp

The commitTime.

getCommitTimeOrBuilder()

public abstract TimestampOrBuilder getCommitTimeOrBuilder()

The timestamp in which the change was committed.

.google.protobuf.Timestamp commit_time = 1;

Returns
Type Description
TimestampOrBuilder

getIsLastRecord()

public abstract boolean getIsLastRecord()

Indicates whether this is the last record for a transaction in the current partition.

bool is_last_record = 4;

Returns
Type Description
boolean

The isLastRecord.

getIsSystemTransaction()

public abstract boolean getIsSystemTransaction()

Whether the transaction is a system transactionn.

bool is_system_transaction = 13;

Returns
Type Description
boolean

The isSystemTransaction.

getModType()

public abstract String getModType()

Describes the type of change. One of INSERT, UPDATE or DELETE.

string mod_type = 8;

Returns
Type Description
String

The modType.

getModTypeBytes()

public abstract ByteString getModTypeBytes()

Describes the type of change. One of INSERT, UPDATE or DELETE.

string mod_type = 8;

Returns
Type Description
ByteString

The bytes for modType.

getMods(int index)

public abstract DataChangeRecord.Mod getMods(int index)

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Parameter
Name Description
index int
Returns
Type Description
DataChangeRecord.Mod

getModsCount()

public abstract int getModsCount()

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Returns
Type Description
int

getModsList()

public abstract List<DataChangeRecord.Mod> getModsList()

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Returns
Type Description
List<Mod>

getModsOrBuilder(int index)

public abstract DataChangeRecord.ModOrBuilder getModsOrBuilder(int index)

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Parameter
Name Description
index int
Returns
Type Description
DataChangeRecord.ModOrBuilder

getModsOrBuilderList()

public abstract List<? extends DataChangeRecord.ModOrBuilder> getModsOrBuilderList()

Changes made in the transaction.

repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;

Returns
Type Description
List<? extends com.google.spanner.executor.v1.DataChangeRecord.ModOrBuilder>

getPartitionCount()

public abstract long getPartitionCount()

Number of partitions in transactions.

int64 partition_count = 11;

Returns
Type Description
long

The partitionCount.

getRecordCount()

public abstract long getRecordCount()

Number of records in transactions.

int64 record_count = 10;

Returns
Type Description
long

The recordCount.

getRecordSequence()

public abstract String getRecordSequence()

The sequence number for the record within the transaction.

string record_sequence = 2;

Returns
Type Description
String

The recordSequence.

getRecordSequenceBytes()

public abstract ByteString getRecordSequenceBytes()

The sequence number for the record within the transaction.

string record_sequence = 2;

Returns
Type Description
ByteString

The bytes for recordSequence.

getTable()

public abstract String getTable()

Name of the table affected by the change.

string table = 5;

Returns
Type Description
String

The table.

getTableBytes()

public abstract ByteString getTableBytes()

Name of the table affected by the change.

string table = 5;

Returns
Type Description
ByteString

The bytes for table.

getTransactionId()

public abstract String getTransactionId()

A globally unique string that represents the transaction in which the change was committed.

string transaction_id = 3;

Returns
Type Description
String

The transactionId.

getTransactionIdBytes()

public abstract ByteString getTransactionIdBytes()

A globally unique string that represents the transaction in which the change was committed.

string transaction_id = 3;

Returns
Type Description
ByteString

The bytes for transactionId.

getTransactionTag()

public abstract String getTransactionTag()

Transaction tag info.

string transaction_tag = 12;

Returns
Type Description
String

The transactionTag.

getTransactionTagBytes()

public abstract ByteString getTransactionTagBytes()

Transaction tag info.

string transaction_tag = 12;

Returns
Type Description
ByteString

The bytes for transactionTag.

getValueCaptureType()

public abstract String getValueCaptureType()

One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.

string value_capture_type = 9;

Returns
Type Description
String

The valueCaptureType.

getValueCaptureTypeBytes()

public abstract ByteString getValueCaptureTypeBytes()

One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.

string value_capture_type = 9;

Returns
Type Description
ByteString

The bytes for valueCaptureType.