Class NullableSetTypeInfo<T>
- java.lang.Object
-
- org.apache.flink.api.common.typeinfo.TypeInformation<Set<T>>
-
- org.apache.flink.api.java.typeutils.SetTypeInfo<T>
-
- org.apache.flink.api.java.typeutils.NullableSetTypeInfo<T>
-
- Type Parameters:
T- The type of the elements in the set.
- All Implemented Interfaces:
Serializable
@PublicEvolving public class NullableSetTypeInfo<T> extends SetTypeInfo<T>
ATypeInformationfor the set types of the Java API, accepting null collection and null elements.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NullableSetTypeInfo(Class<T> elementTypeClass)NullableSetTypeInfo(TypeInformation<T> elementTypeInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeSerializer<Set<T>>createSerializer(SerializerConfig config)Creates a serializer for the type.StringtoString()-
Methods inherited from class org.apache.flink.api.java.typeutils.SetTypeInfo
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
-
NullableSetTypeInfo
public NullableSetTypeInfo(TypeInformation<T> elementTypeInfo)
-
-
Method Detail
-
createSerializer
public TypeSerializer<Set<T>> createSerializer(SerializerConfig config)
Description copied from class:TypeInformationCreates a serializer for the type. The serializer may use the ExecutionConfig for parameterization.- Overrides:
createSerializerin classSetTypeInfo<T>- Parameters:
config- The config used to parameterize the serializer.- Returns:
- A serializer for this type.
-
toString
public String toString()
- Overrides:
toStringin classSetTypeInfo<T>
-
-