Interface DataChangeRecordOrBuilder (6.62.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
NameDescription
indexint
Returns
TypeDescription
DataChangeRecord.ColumnType

getColumnTypesCount()

public abstract int getColumnTypesCount()

Column types defined in the schema.

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

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Timestamp

The commitTime.

getCommitTimeOrBuilder()

public abstract TimestampOrBuilder getCommitTimeOrBuilder()

The timestamp in which the change was committed.

.google.protobuf.Timestamp commit_time = 1;

Returns
TypeDescription
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
TypeDescription
boolean

The isLastRecord.

getIsSystemTransaction()

public abstract boolean getIsSystemTransaction()

Whether the transaction is a system transactionn.

bool is_system_transaction = 13;

Returns
TypeDescription
boolean

The isSystemTransaction.

getModType()

public abstract String getModType()

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

string mod_type = 8;

Returns
TypeDescription
String

The modType.

getModTypeBytes()

public abstract ByteString getModTypeBytes()

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

string mod_type = 8;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DataChangeRecord.Mod

getModsCount()

public abstract int getModsCount()

Changes made in the transaction.

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

Returns
TypeDescription
int

getModsList()

public abstract List<DataChangeRecord.Mod> getModsList()

Changes made in the transaction.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.spanner.executor.v1.DataChangeRecord.ModOrBuilder>

getPartitionCount()

public abstract long getPartitionCount()

Number of partitions in transactions.

int64 partition_count = 11;

Returns
TypeDescription
long

The partitionCount.

getRecordCount()

public abstract long getRecordCount()

Number of records in transactions.

int64 record_count = 10;

Returns
TypeDescription
long

The recordCount.

getRecordSequence()

public abstract String getRecordSequence()

The sequence number for the record within the transaction.

string record_sequence = 2;

Returns
TypeDescription
String

The recordSequence.

getRecordSequenceBytes()

public abstract ByteString getRecordSequenceBytes()

The sequence number for the record within the transaction.

string record_sequence = 2;

Returns
TypeDescription
ByteString

The bytes for recordSequence.

getTable()

public abstract String getTable()

Name of the table affected by the change.

string table = 5;

Returns
TypeDescription
String

The table.

getTableBytes()

public abstract ByteString getTableBytes()

Name of the table affected by the change.

string table = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for transactionId.

getTransactionTag()

public abstract String getTransactionTag()

Transaction tag info.

string transaction_tag = 12;

Returns
TypeDescription
String

The transactionTag.

getTransactionTagBytes()

public abstract ByteString getTransactionTagBytes()

Transaction tag info.

string transaction_tag = 12;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for valueCaptureType.

hasCommitTime()

public abstract boolean hasCommitTime()

The timestamp in which the change was committed.

.google.protobuf.Timestamp commit_time = 1;

Returns
TypeDescription
boolean

Whether the commitTime field is set.