Interface DataChangeRecordOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DataChangeRecord, DataChangeRecord.Builder

public interface DataChangeRecordOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasCommitTime

      boolean hasCommitTime()
       The timestamp in which the change was committed.
       
      .google.protobuf.Timestamp commit_time = 1;
      Returns:
      Whether the commitTime field is set.
    • getCommitTime

      com.google.protobuf.Timestamp getCommitTime()
       The timestamp in which the change was committed.
       
      .google.protobuf.Timestamp commit_time = 1;
      Returns:
      The commitTime.
    • getCommitTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder()
       The timestamp in which the change was committed.
       
      .google.protobuf.Timestamp commit_time = 1;
    • getRecordSequence

      String getRecordSequence()
       The sequence number for the record within the transaction.
       
      string record_sequence = 2;
      Returns:
      The recordSequence.
    • getRecordSequenceBytes

      com.google.protobuf.ByteString getRecordSequenceBytes()
       The sequence number for the record within the transaction.
       
      string record_sequence = 2;
      Returns:
      The bytes for recordSequence.
    • getTransactionId

      String getTransactionId()
       A globally unique string that represents the transaction in which the
       change was committed.
       
      string transaction_id = 3;
      Returns:
      The transactionId.
    • getTransactionIdBytes

      com.google.protobuf.ByteString getTransactionIdBytes()
       A globally unique string that represents the transaction in which the
       change was committed.
       
      string transaction_id = 3;
      Returns:
      The bytes for transactionId.
    • getIsLastRecord

      boolean getIsLastRecord()
       Indicates whether this is the last record for a transaction in the current
       partition.
       
      bool is_last_record = 4;
      Returns:
      The isLastRecord.
    • getTable

      String getTable()
       Name of the table affected by the change.
       
      string table = 5;
      Returns:
      The table.
    • getTableBytes

      com.google.protobuf.ByteString getTableBytes()
       Name of the table affected by the change.
       
      string table = 5;
      Returns:
      The bytes for table.
    • getColumnTypesList

      List<DataChangeRecord.ColumnType> getColumnTypesList()
       Column types defined in the schema.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
    • getColumnTypes

      DataChangeRecord.ColumnType getColumnTypes(int index)
       Column types defined in the schema.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
    • getColumnTypesCount

      int getColumnTypesCount()
       Column types defined in the schema.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
    • getColumnTypesOrBuilderList

      List<? extends DataChangeRecord.ColumnTypeOrBuilder> getColumnTypesOrBuilderList()
       Column types defined in the schema.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
    • getColumnTypesOrBuilder

      DataChangeRecord.ColumnTypeOrBuilder getColumnTypesOrBuilder(int index)
       Column types defined in the schema.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.ColumnType column_types = 6;
    • getModsList

      List<DataChangeRecord.Mod> getModsList()
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
    • getMods

      DataChangeRecord.Mod getMods(int index)
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
    • getModsCount

      int getModsCount()
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
    • getModsOrBuilderList

      List<? extends DataChangeRecord.ModOrBuilder> getModsOrBuilderList()
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
    • getModsOrBuilder

      DataChangeRecord.ModOrBuilder getModsOrBuilder(int index)
       Changes made in the transaction.
       
      repeated .google.spanner.executor.v1.DataChangeRecord.Mod mods = 7;
    • getModType

      String getModType()
       Describes the type of change. One of INSERT, UPDATE or DELETE.
       
      string mod_type = 8;
      Returns:
      The modType.
    • getModTypeBytes

      com.google.protobuf.ByteString getModTypeBytes()
       Describes the type of change. One of INSERT, UPDATE or DELETE.
       
      string mod_type = 8;
      Returns:
      The bytes for modType.
    • getValueCaptureType

      String getValueCaptureType()
       One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.
       
      string value_capture_type = 9;
      Returns:
      The valueCaptureType.
    • getValueCaptureTypeBytes

      com.google.protobuf.ByteString getValueCaptureTypeBytes()
       One of value capture type: NEW_VALUES, OLD_VALUES, OLD_AND_NEW_VALUES.
       
      string value_capture_type = 9;
      Returns:
      The bytes for valueCaptureType.
    • getRecordCount

      long getRecordCount()
       Number of records in transactions.
       
      int64 record_count = 10;
      Returns:
      The recordCount.
    • getPartitionCount

      long getPartitionCount()
       Number of partitions in transactions.
       
      int64 partition_count = 11;
      Returns:
      The partitionCount.
    • getTransactionTag

      String getTransactionTag()
       Transaction tag info.
       
      string transaction_tag = 12;
      Returns:
      The transactionTag.
    • getTransactionTagBytes

      com.google.protobuf.ByteString getTransactionTagBytes()
       Transaction tag info.
       
      string transaction_tag = 12;
      Returns:
      The bytes for transactionTag.
    • getIsSystemTransaction

      boolean getIsSystemTransaction()
       Whether the transaction is a system transactionn.
       
      bool is_system_transaction = 13;
      Returns:
      The isSystemTransaction.