Class ListTypeDescriptorImpl<T>

  • Type Parameters:
    T - type for which TypeInformation is created.
    All Implemented Interfaces:
    Serializable, org.apache.flink.api.common.typeinfo.TypeDescriptor<List<T>>

    @Internal
    public class ListTypeDescriptorImpl<T>
    extends Object
    implements org.apache.flink.api.common.typeinfo.TypeDescriptor<List<T>>
    Implementation of TypeDescriptor to create ListTypeInfo. Note that this class is initiated via reflection. So, changing its path or constructor will brake tests.
    See Also:
    Serialized Form
    • Constructor Detail

      • ListTypeDescriptorImpl

        public ListTypeDescriptorImpl​(Class<T> elementClass)
      • ListTypeDescriptorImpl

        public ListTypeDescriptorImpl​(org.apache.flink.api.common.typeinfo.TypeDescriptor<T> typeDescriptor)
    • Method Detail

      • getListTypeInfo

        public ListTypeInfo<?> getListTypeInfo()
      • getTypeClass

        public Class<List<T>> getTypeClass()
        Specified by:
        getTypeClass in interface org.apache.flink.api.common.typeinfo.TypeDescriptor<T>
      • getComponentType

        public Class<T> getComponentType()