@@ -143,13 +143,6 @@ public static SavepointReader read(
143143 this .stateBackend = stateBackend ;
144144 }
145145
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-
153146 /**
154147 * Read operator {@code ListState} from a {@code Savepoint}.
155148 *
@@ -166,17 +159,6 @@ public <T> DataStream<T> readListState(
166159 return readListState (identifier , typeInfo , new ListStateDescriptor <>(name , typeInfo ));
167160 }
168161
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-
180162 /**
181163 * Read operator {@code ListState} from a {@code Savepoint} when a custom serializer was used;
182164 * e.g., a different serializer than the one returned by {@code
@@ -216,13 +198,6 @@ private <T> DataStream<T> readListState(
216198 return SourceBuilder .fromFormat (env , inputFormat , typeInfo );
217199 }
218200
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-
226201 /**
227202 * Read operator {@code UnionState} from a {@code Savepoint}.
228203 *
@@ -239,16 +214,6 @@ public <T> DataStream<T> readUnionState(
239214 return readUnionState (identifier , typeInfo , new ListStateDescriptor <>(name , typeInfo ));
240215 }
241216
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-
252217 /**
253218 * Read operator {@code UnionState} from a {@code Savepoint} when a custom serializer was used;
254219 * e.g., a different serializer than the one returned by {@code
@@ -288,20 +253,6 @@ private <T> DataStream<T> readUnionState(
288253 return SourceBuilder .fromFormat (env , inputFormat , typeInfo );
289254 }
290255
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-
305256 /**
306257 * Read operator {@code BroadcastState} from a {@code Savepoint}.
307258 *
@@ -327,28 +278,6 @@ public <K, V> DataStream<Tuple2<K, V>> readBroadcastState(
327278 new MapStateDescriptor <>(name , keyTypeInfo , valueTypeInfo ));
328279 }
329280
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-
352281 /**
353282 * Read operator {@code BroadcastState} from a {@code Savepoint} when a custom serializer was
354283 * used; e.g., a different serializer than the one returned by {@code
@@ -399,13 +328,6 @@ private <K, V> DataStream<Tuple2<K, V>> readBroadcastState(
399328 env , inputFormat , new TupleTypeInfo <>(keyTypeInfo , valueTypeInfo ));
400329 }
401330
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-
409331 /**
410332 * Read keyed state from an operator in a {@code Savepoint}.
411333 *
@@ -455,20 +377,6 @@ public <K, OUT> DataStream<OUT> readKeyedState(
455377 return readKeyedState (identifier , function , keyTypeInfo , outType );
456378 }
457379
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-
472380 /**
473381 * Read keyed state from an operator in a {@code Savepoint}.
474382 *
0 commit comments