@@ -143,13 +143,6 @@ public static SavepointReader read(
143
143
this .stateBackend = stateBackend ;
144
144
}
145
145
146
- /** @deprecated use {@link #readListState(OperatorIdentifier, String, TypeInformation)} */
147
- @ Deprecated
148
- public <T > DataStream <T > readListState (String uid , String name , TypeInformation <T > typeInfo )
149
- throws IOException {
150
- return readListState (OperatorIdentifier .forUid (uid ), name , typeInfo );
151
- }
152
-
153
146
/**
154
147
* Read operator {@code ListState} from a {@code Savepoint}.
155
148
*
@@ -166,17 +159,6 @@ public <T> DataStream<T> readListState(
166
159
return readListState (identifier , typeInfo , new ListStateDescriptor <>(name , typeInfo ));
167
160
}
168
161
169
- /**
170
- * @deprecated use {@link #readListState(OperatorIdentifier, String, TypeInformation,
171
- * TypeSerializer)}
172
- */
173
- @ Deprecated
174
- public <T > DataStream <T > readListState (
175
- String uid , String name , TypeInformation <T > typeInfo , TypeSerializer <T > serializer )
176
- throws IOException {
177
- return readListState (OperatorIdentifier .forUid (uid ), name , typeInfo , serializer );
178
- }
179
-
180
162
/**
181
163
* Read operator {@code ListState} from a {@code Savepoint} when a custom serializer was used;
182
164
* e.g., a different serializer than the one returned by {@code
@@ -216,13 +198,6 @@ private <T> DataStream<T> readListState(
216
198
return SourceBuilder .fromFormat (env , inputFormat , typeInfo );
217
199
}
218
200
219
- /** @deprecated use {@link #readUnionState(OperatorIdentifier, String, TypeInformation)} */
220
- @ Deprecated
221
- public <T > DataStream <T > readUnionState (String uid , String name , TypeInformation <T > typeInfo )
222
- throws IOException {
223
- return readListState (OperatorIdentifier .forUid (uid ), name , typeInfo );
224
- }
225
-
226
201
/**
227
202
* Read operator {@code UnionState} from a {@code Savepoint}.
228
203
*
@@ -239,16 +214,6 @@ public <T> DataStream<T> readUnionState(
239
214
return readUnionState (identifier , typeInfo , new ListStateDescriptor <>(name , typeInfo ));
240
215
}
241
216
242
- /**
243
- * @deprecated use {@link #readUnionState(OperatorIdentifier, String, TypeInformation,
244
- * TypeSerializer)}
245
- */
246
- public <T > DataStream <T > readUnionState (
247
- String uid , String name , TypeInformation <T > typeInfo , TypeSerializer <T > serializer )
248
- throws IOException {
249
- return readUnionState (OperatorIdentifier .forUid (uid ), name , typeInfo , serializer );
250
- }
251
-
252
217
/**
253
218
* Read operator {@code UnionState} from a {@code Savepoint} when a custom serializer was used;
254
219
* e.g., a different serializer than the one returned by {@code
@@ -288,20 +253,6 @@ private <T> DataStream<T> readUnionState(
288
253
return SourceBuilder .fromFormat (env , inputFormat , typeInfo );
289
254
}
290
255
291
- /**
292
- * @deprecated use {@link #readBroadcastState(OperatorIdentifier, String, TypeInformation,
293
- * TypeInformation)}
294
- */
295
- @ Deprecated
296
- public <K , V > DataStream <Tuple2 <K , V >> readBroadcastState (
297
- String uid ,
298
- String name ,
299
- TypeInformation <K > keyTypeInfo ,
300
- TypeInformation <V > valueTypeInfo )
301
- throws IOException {
302
- return readBroadcastState (OperatorIdentifier .forUid (uid ), name , keyTypeInfo , valueTypeInfo );
303
- }
304
-
305
256
/**
306
257
* Read operator {@code BroadcastState} from a {@code Savepoint}.
307
258
*
@@ -327,28 +278,6 @@ public <K, V> DataStream<Tuple2<K, V>> readBroadcastState(
327
278
new MapStateDescriptor <>(name , keyTypeInfo , valueTypeInfo ));
328
279
}
329
280
330
- /**
331
- * @deprecated use {@link #readBroadcastState(OperatorIdentifier, String, TypeInformation,
332
- * TypeInformation, TypeSerializer, TypeSerializer)}
333
- */
334
- @ Deprecated
335
- public <K , V > DataStream <Tuple2 <K , V >> readBroadcastState (
336
- String uid ,
337
- String name ,
338
- TypeInformation <K > keyTypeInfo ,
339
- TypeInformation <V > valueTypeInfo ,
340
- TypeSerializer <K > keySerializer ,
341
- TypeSerializer <V > valueSerializer )
342
- throws IOException {
343
- return readBroadcastState (
344
- OperatorIdentifier .forUid (uid ),
345
- name ,
346
- keyTypeInfo ,
347
- valueTypeInfo ,
348
- keySerializer ,
349
- valueSerializer );
350
- }
351
-
352
281
/**
353
282
* Read operator {@code BroadcastState} from a {@code Savepoint} when a custom serializer was
354
283
* used; e.g., a different serializer than the one returned by {@code
@@ -399,13 +328,6 @@ private <K, V> DataStream<Tuple2<K, V>> readBroadcastState(
399
328
env , inputFormat , new TupleTypeInfo <>(keyTypeInfo , valueTypeInfo ));
400
329
}
401
330
402
- /** @deprecated use {@link #readKeyedState(OperatorIdentifier, KeyedStateReaderFunction)} */
403
- @ Deprecated
404
- public <K , OUT > DataStream <OUT > readKeyedState (
405
- String uid , KeyedStateReaderFunction <K , OUT > function ) throws IOException {
406
- return readKeyedState (OperatorIdentifier .forUid (uid ), function );
407
- }
408
-
409
331
/**
410
332
* Read keyed state from an operator in a {@code Savepoint}.
411
333
*
@@ -455,20 +377,6 @@ public <K, OUT> DataStream<OUT> readKeyedState(
455
377
return readKeyedState (identifier , function , keyTypeInfo , outType );
456
378
}
457
379
458
- /**
459
- * @deprecated use {@link #readKeyedState(OperatorIdentifier, KeyedStateReaderFunction,
460
- * TypeInformation, TypeInformation)}
461
- */
462
- @ Deprecated
463
- public <K , OUT > DataStream <OUT > readKeyedState (
464
- String uid ,
465
- KeyedStateReaderFunction <K , OUT > function ,
466
- TypeInformation <K > keyTypeInfo ,
467
- TypeInformation <OUT > outTypeInfo )
468
- throws IOException {
469
- return readKeyedState (OperatorIdentifier .forUid (uid ), function , keyTypeInfo , outTypeInfo );
470
- }
471
-
472
380
/**
473
381
* Read keyed state from an operator in a {@code Savepoint}.
474
382
*
0 commit comments