Class PartitionState
java.lang.Object
io.debezium.connector.spanner.kafka.internal.model.PartitionState
- All Implemented Interfaces:
Comparable<PartitionState>
Contains information about the current state
of the Spanner partition
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final com.google.cloud.Timestampprivate final com.google.cloud.Timestampprivate final Stringprivate final com.google.cloud.Timestampprivate final PartitionStateEnumprivate final String -
Constructor Summary
ConstructorsConstructorDescriptionPartitionState(String token, com.google.cloud.Timestamp startTimestamp, com.google.cloud.Timestamp endTimestamp, PartitionStateEnum state, Set<String> parents, String assigneeTaskUid, com.google.cloud.Timestamp finishedTimestamp, String originParent) -
Method Summary
-
Field Details
-
token
-
startTimestamp
private final com.google.cloud.Timestamp startTimestamp -
endTimestamp
private final com.google.cloud.Timestamp endTimestamp -
state
-
parents
-
assigneeTaskUid
-
finishedTimestamp
private final com.google.cloud.Timestamp finishedTimestamp -
originParent
-
-
Constructor Details
-
PartitionState
-
-
Method Details
-
builder
-
toBuilder
-
getToken
-
getStartTimestamp
public com.google.cloud.Timestamp getStartTimestamp() -
getEndTimestamp
public com.google.cloud.Timestamp getEndTimestamp() -
getState
-
getParents
-
getAssigneeTaskUid
-
getFinishedTimestamp
public com.google.cloud.Timestamp getFinishedTimestamp() -
getOriginParent
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<PartitionState>
-
toString
-