Class NullableListTypeInfo<T>
- java.lang.Object
-
- org.apache.flink.api.common.typeinfo.TypeInformation<List<T>>
-
- org.apache.flink.api.java.typeutils.ListTypeInfo<T>
-
- org.apache.flink.api.java.typeutils.NullableListTypeInfo<T>
-
- Type Parameters:
T- The type of the elements in the list.
- All Implemented Interfaces:
Serializable
@PublicEvolving public class NullableListTypeInfo<T> extends ListTypeInfo<T>
ATypeInformationfor the list types of the Java API, accepting null collection and null elements.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NullableListTypeInfo(Class<T> elementTypeClass)NullableListTypeInfo(TypeInformation<T> elementTypeInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeSerializer<List<T>>createSerializer(SerializerConfig config)Creates a serializer for the type.StringtoString()-
Methods inherited from class org.apache.flink.api.java.typeutils.ListTypeInfo
canEqual, equals, getArity, getElementTypeInfo, getTotalFields, getTypeClass, hashCode, isBasicType, isKeyType, isTupleType
-
Methods inherited from class org.apache.flink.api.common.typeinfo.TypeInformation
getGenericParameters, isSortKeyType, of, of
-
-
-
-
Constructor Detail
-
NullableListTypeInfo
public NullableListTypeInfo(TypeInformation<T> elementTypeInfo)
-
-
Method Detail
-
createSerializer
public TypeSerializer<List<T>> createSerializer(SerializerConfig config)
Description copied from class:TypeInformationCreates a serializer for the type. The serializer may use the ExecutionConfig for parameterization.- Overrides:
createSerializerin classListTypeInfo<T>- Parameters:
config- The config used to parameterize the serializer.- Returns:
- A serializer for this type.
-
toString
public String toString()
- Overrides:
toStringin classListTypeInfo<T>
-
-