@@ -88,6 +88,8 @@ public class CheckpointStatistics implements ResponseBody {
88
88
89
89
public static final String FIELD_NAME_IS_SAVEPOINT = "is_savepoint" ;
90
90
91
+ public static final String FIELD_NAME_IS_FULL_CHECKPOINT = "is_full_checkpoint" ;
92
+
91
93
public static final String FIELD_NAME_SAVEPOINT_FORMAT = "savepointFormat" ;
92
94
93
95
public static final String FIELD_NAME_TRIGGER_TIMESTAMP = "trigger_timestamp" ;
@@ -129,6 +131,9 @@ public class CheckpointStatistics implements ResponseBody {
129
131
@ JsonProperty (FIELD_NAME_IS_SAVEPOINT )
130
132
private final boolean savepoint ;
131
133
134
+ @ JsonProperty (FIELD_NAME_IS_FULL_CHECKPOINT )
135
+ private final boolean fullCheckpoint ;
136
+
132
137
@ JsonProperty (FIELD_NAME_SAVEPOINT_FORMAT )
133
138
@ Nullable
134
139
private final String savepointFormat ;
@@ -175,6 +180,7 @@ private CheckpointStatistics(
175
180
@ JsonProperty (FIELD_NAME_ID ) long id ,
176
181
@ JsonProperty (FIELD_NAME_STATUS ) CheckpointStatsStatus status ,
177
182
@ JsonProperty (FIELD_NAME_IS_SAVEPOINT ) boolean savepoint ,
183
+ @ JsonProperty (FIELD_NAME_IS_FULL_CHECKPOINT ) boolean fullCheckpoint ,
178
184
@ JsonProperty (FIELD_NAME_SAVEPOINT_FORMAT ) String savepointFormat ,
179
185
@ JsonProperty (FIELD_NAME_TRIGGER_TIMESTAMP ) long triggerTimestamp ,
180
186
@ JsonProperty (FIELD_NAME_LATEST_ACK_TIMESTAMP ) long latestAckTimestamp ,
@@ -193,6 +199,7 @@ private CheckpointStatistics(
193
199
this .id = id ;
194
200
this .status = Preconditions .checkNotNull (status );
195
201
this .savepoint = savepoint ;
202
+ this .fullCheckpoint = fullCheckpoint ;
196
203
this .savepointFormat = savepointFormat ;
197
204
this .triggerTimestamp = triggerTimestamp ;
198
205
this .latestAckTimestamp = latestAckTimestamp ;
@@ -220,6 +227,10 @@ public boolean isSavepoint() {
220
227
return savepoint ;
221
228
}
222
229
230
+ public boolean isFullCheckpoint () {
231
+ return fullCheckpoint ;
232
+ }
233
+
223
234
public long getTriggerTimestamp () {
224
235
return triggerTimestamp ;
225
236
}
@@ -268,6 +279,7 @@ public boolean equals(Object o) {
268
279
CheckpointStatistics that = (CheckpointStatistics ) o ;
269
280
return id == that .id
270
281
&& savepoint == that .savepoint
282
+ && fullCheckpoint == that .fullCheckpoint
271
283
&& Objects .equals (savepointFormat , that .savepointFormat )
272
284
&& triggerTimestamp == that .triggerTimestamp
273
285
&& latestAckTimestamp == that .latestAckTimestamp
@@ -289,6 +301,7 @@ public int hashCode() {
289
301
id ,
290
302
status ,
291
303
savepoint ,
304
+ fullCheckpoint ,
292
305
savepointFormat ,
293
306
triggerTimestamp ,
294
307
latestAckTimestamp ,
@@ -352,6 +365,7 @@ public static CheckpointStatistics generateCheckpointStatistics(
352
365
completedCheckpointStats .getCheckpointId (),
353
366
completedCheckpointStats .getStatus (),
354
367
snapshotType .isSavepoint (),
368
+ snapshotType .isFullCheckpoint (),
355
369
savepointFormat ,
356
370
completedCheckpointStats .getTriggerTimestamp (),
357
371
completedCheckpointStats .getLatestAckTimestamp (),
@@ -377,6 +391,7 @@ public static CheckpointStatistics generateCheckpointStatistics(
377
391
failedCheckpointStats .getCheckpointId (),
378
392
failedCheckpointStats .getStatus (),
379
393
failedCheckpointStats .getProperties ().isSavepoint (),
394
+ failedCheckpointStats .getProperties ().isFullCheckpoint (),
380
395
savepointFormat ,
381
396
failedCheckpointStats .getTriggerTimestamp (),
382
397
failedCheckpointStats .getLatestAckTimestamp (),
@@ -402,6 +417,7 @@ public static CheckpointStatistics generateCheckpointStatistics(
402
417
pendingCheckpointStats .getCheckpointId (),
403
418
pendingCheckpointStats .getStatus (),
404
419
pendingCheckpointStats .getProperties ().isSavepoint (),
420
+ pendingCheckpointStats .getProperties ().isFullCheckpoint (),
405
421
savepointFormat ,
406
422
pendingCheckpointStats .getTriggerTimestamp (),
407
423
pendingCheckpointStats .getLatestAckTimestamp (),
@@ -474,6 +490,7 @@ public CompletedCheckpointStatistics(
474
490
@ JsonProperty (FIELD_NAME_ID ) long id ,
475
491
@ JsonProperty (FIELD_NAME_STATUS ) CheckpointStatsStatus status ,
476
492
@ JsonProperty (FIELD_NAME_IS_SAVEPOINT ) boolean savepoint ,
493
+ @ JsonProperty (FIELD_NAME_IS_FULL_CHECKPOINT ) boolean fullCheckpoint ,
477
494
@ JsonProperty (FIELD_NAME_SAVEPOINT_FORMAT ) String savepointFormat ,
478
495
@ JsonProperty (FIELD_NAME_TRIGGER_TIMESTAMP ) long triggerTimestamp ,
479
496
@ JsonProperty (FIELD_NAME_LATEST_ACK_TIMESTAMP ) long latestAckTimestamp ,
@@ -495,6 +512,7 @@ public CompletedCheckpointStatistics(
495
512
id ,
496
513
status ,
497
514
savepoint ,
515
+ fullCheckpoint ,
498
516
savepointFormat ,
499
517
triggerTimestamp ,
500
518
latestAckTimestamp ,
@@ -562,6 +580,7 @@ public FailedCheckpointStatistics(
562
580
@ JsonProperty (FIELD_NAME_ID ) long id ,
563
581
@ JsonProperty (FIELD_NAME_STATUS ) CheckpointStatsStatus status ,
564
582
@ JsonProperty (FIELD_NAME_IS_SAVEPOINT ) boolean savepoint ,
583
+ @ JsonProperty (FIELD_NAME_IS_FULL_CHECKPOINT ) boolean fullCheckpoint ,
565
584
@ JsonProperty (FIELD_NAME_SAVEPOINT_FORMAT ) String savepointFormat ,
566
585
@ JsonProperty (FIELD_NAME_TRIGGER_TIMESTAMP ) long triggerTimestamp ,
567
586
@ JsonProperty (FIELD_NAME_LATEST_ACK_TIMESTAMP ) long latestAckTimestamp ,
@@ -583,6 +602,7 @@ public FailedCheckpointStatistics(
583
602
id ,
584
603
status ,
585
604
savepoint ,
605
+ fullCheckpoint ,
586
606
savepointFormat ,
587
607
triggerTimestamp ,
588
608
latestAckTimestamp ,
@@ -640,6 +660,7 @@ public PendingCheckpointStatistics(
640
660
@ JsonProperty (FIELD_NAME_ID ) long id ,
641
661
@ JsonProperty (FIELD_NAME_STATUS ) CheckpointStatsStatus status ,
642
662
@ JsonProperty (FIELD_NAME_IS_SAVEPOINT ) boolean savepoint ,
663
+ @ JsonProperty (FIELD_NAME_IS_FULL_CHECKPOINT ) boolean fullCheckpoint ,
643
664
@ JsonProperty (FIELD_NAME_SAVEPOINT_FORMAT ) String savepointFormat ,
644
665
@ JsonProperty (FIELD_NAME_TRIGGER_TIMESTAMP ) long triggerTimestamp ,
645
666
@ JsonProperty (FIELD_NAME_LATEST_ACK_TIMESTAMP ) long latestAckTimestamp ,
@@ -659,6 +680,7 @@ public PendingCheckpointStatistics(
659
680
id ,
660
681
status ,
661
682
savepoint ,
683
+ fullCheckpoint ,
662
684
savepointFormat ,
663
685
triggerTimestamp ,
664
686
latestAckTimestamp ,
0 commit comments