public final class PartitionEventRecord
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Spanner API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PartitionEventRecord() |
Modifier and Type | Method and Description |
---|---|
PartitionEventRecord |
clone() |
String |
getCommitTimestamp()
Indicates the commit timestamp at which the key range change occurred.
|
List<MoveInEvent> |
getMoveInEvents()
Set when one or more key ranges are moved into the change stream partition identified by
partition_token.
|
List<MoveOutEvent> |
getMoveOutEvents()
Set when one or more key ranges are moved out of the change stream partition identified by
partition_token.
|
String |
getPartitionToken()
Unique partition identifier describing the partition this event occurred on.
|
String |
getRecordSequence()
Record sequence numbers are unique and monotonically increasing (but not necessarily
contiguous) for a specific timestamp across record types in the same partition.
|
PartitionEventRecord |
set(String fieldName,
Object value) |
PartitionEventRecord |
setCommitTimestamp(String commitTimestamp)
Indicates the commit timestamp at which the key range change occurred.
|
PartitionEventRecord |
setMoveInEvents(List<MoveInEvent> moveInEvents)
Set when one or more key ranges are moved into the change stream partition identified by
partition_token.
|
PartitionEventRecord |
setMoveOutEvents(List<MoveOutEvent> moveOutEvents)
Set when one or more key ranges are moved out of the change stream partition identified by
partition_token.
|
PartitionEventRecord |
setPartitionToken(String partitionToken)
Unique partition identifier describing the partition this event occurred on.
|
PartitionEventRecord |
setRecordSequence(String recordSequence)
Record sequence numbers are unique and monotonically increasing (but not necessarily
contiguous) for a specific timestamp across record types in the same partition.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getCommitTimestamp()
null
for nonepublic PartitionEventRecord setCommitTimestamp(String commitTimestamp)
commitTimestamp
- commitTimestamp or null
for nonepublic List<MoveInEvent> getMoveInEvents()
null
for nonepublic PartitionEventRecord setMoveInEvents(List<MoveInEvent> moveInEvents)
moveInEvents
- moveInEvents or null
for nonepublic List<MoveOutEvent> getMoveOutEvents()
null
for nonepublic PartitionEventRecord setMoveOutEvents(List<MoveOutEvent> moveOutEvents)
moveOutEvents
- moveOutEvents or null
for nonepublic String getPartitionToken()
null
for nonepublic PartitionEventRecord setPartitionToken(String partitionToken)
partitionToken
- partitionToken or null
for nonepublic String getRecordSequence()
null
for nonepublic PartitionEventRecord setRecordSequence(String recordSequence)
recordSequence
- recordSequence or null
for nonepublic PartitionEventRecord set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public PartitionEventRecord clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.