Class EncodedValueTypeInformation

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.flink.api.common.typeinfo.AtomicType<byte[]>

    public class EncodedValueTypeInformation
    extends org.apache.flink.api.common.typeinfo.TypeInformation<byte[]>
    implements org.apache.flink.api.common.typeinfo.AtomicType<byte[]>
    Flink TypeInformation for Beam values that have been encoded to byte data by a Coder.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canEqual​(java.lang.Object obj)  
      org.apache.flink.api.common.typeutils.TypeComparator<byte[]> createComparator​(boolean sortOrderAscending, org.apache.flink.api.common.ExecutionConfig executionConfig)  
      org.apache.flink.api.common.typeutils.TypeSerializer<byte[]> createSerializer​(org.apache.flink.api.common.ExecutionConfig executionConfig)  
      boolean equals​(@Nullable java.lang.Object other)  
      int getArity()  
      int getTotalFields()  
      java.lang.Class<byte[]> getTypeClass()  
      int hashCode()  
      boolean isBasicType()  
      boolean isKeyType()  
      boolean isTupleType()  
      java.lang.String toString()  
      • Methods inherited from class org.apache.flink.api.common.typeinfo.TypeInformation

        getGenericParameters, isSortKeyType, of, of
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • EncodedValueTypeInformation

        public EncodedValueTypeInformation()
    • Method Detail

      • isBasicType

        public boolean isBasicType()
        Specified by:
        isBasicType in class org.apache.flink.api.common.typeinfo.TypeInformation<byte[]>
      • isTupleType

        public boolean isTupleType()
        Specified by:
        isTupleType in class org.apache.flink.api.common.typeinfo.TypeInformation<byte[]>
      • getArity

        public int getArity()
        Specified by:
        getArity in class org.apache.flink.api.common.typeinfo.TypeInformation<byte[]>
      • getTotalFields

        public int getTotalFields()
        Specified by:
        getTotalFields in class org.apache.flink.api.common.typeinfo.TypeInformation<byte[]>
      • getTypeClass

        public java.lang.Class<byte[]> getTypeClass()
        Specified by:
        getTypeClass in class org.apache.flink.api.common.typeinfo.TypeInformation<byte[]>
      • isKeyType

        public boolean isKeyType()
        Specified by:
        isKeyType in class org.apache.flink.api.common.typeinfo.TypeInformation<byte[]>
      • createSerializer

        public org.apache.flink.api.common.typeutils.TypeSerializer<byte[]> createSerializer​(org.apache.flink.api.common.ExecutionConfig executionConfig)
        Specified by:
        createSerializer in class org.apache.flink.api.common.typeinfo.TypeInformation<byte[]>
      • equals

        public boolean equals​(@Nullable java.lang.Object other)
        Specified by:
        equals in class org.apache.flink.api.common.typeinfo.TypeInformation<byte[]>
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in class org.apache.flink.api.common.typeinfo.TypeInformation<byte[]>
      • canEqual

        public boolean canEqual​(java.lang.Object obj)
        Specified by:
        canEqual in class org.apache.flink.api.common.typeinfo.TypeInformation<byte[]>
      • toString

        public java.lang.String toString()
        Specified by:
        toString in class org.apache.flink.api.common.typeinfo.TypeInformation<byte[]>
      • createComparator

        public org.apache.flink.api.common.typeutils.TypeComparator<byte[]> createComparator​(boolean sortOrderAscending,
                                                                                             org.apache.flink.api.common.ExecutionConfig executionConfig)
        Specified by:
        createComparator in interface org.apache.flink.api.common.typeinfo.AtomicType<byte[]>