Interface ChangeStreamRecord
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ChildPartitionsRecord,DataChangeRecord,HeartbeatRecord,PartitionEndRecord,PartitionEventRecord,PartitionStartRecord
Represents a Spanner Change Stream Record. It can be one of:
DataChangeRecord, HeartbeatRecord or ChildPartitionsRecord.-
Method Summary
Modifier and TypeMethodDescriptioncom.google.cloud.TimestampThe timestamp associated with the record.
-
Method Details
-
getRecordTimestamp
com.google.cloud.Timestamp getRecordTimestamp()The timestamp associated with the record. It will come from a different value depending on the underlying record implementation.- Returns:
- the timestamp at which this record has occurred.
-