Class TimeIntervalTypeInfo<T>

  • All Implemented Interfaces:
    Serializable, org.apache.flink.api.common.typeinfo.AtomicType<T>, DataTypeQueryable

    @Internal
    @Deprecated
    public final class TimeIntervalTypeInfo<T>
    extends org.apache.flink.api.common.typeinfo.TypeInformation<T>
    implements org.apache.flink.api.common.typeinfo.AtomicType<T>, DataTypeQueryable
    Deprecated.
    This class will be removed in future versions as it is used for the old type system. It is recommended to use DataTypes instead. Please make sure to use either the old or the new type system consistently to avoid unintended behavior. See the website documentation for more information.
    Type information for SQL INTERVAL types.
    See Also:
    Serialized Form
    • Method Detail

      • isBasicType

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

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

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

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

        public Class<T> getTypeClass()
        Deprecated.
        Specified by:
        getTypeClass in class org.apache.flink.api.common.typeinfo.TypeInformation<T>
      • isKeyType

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

        public org.apache.flink.api.common.typeutils.TypeSerializer<T> createSerializer​(org.apache.flink.api.common.serialization.SerializerConfig config)
        Deprecated.
        Specified by:
        createSerializer in class org.apache.flink.api.common.typeinfo.TypeInformation<T>
      • createComparator

        public org.apache.flink.api.common.typeutils.TypeComparator<T> createComparator​(boolean sortOrderAscending,
                                                                                        org.apache.flink.api.common.ExecutionConfig executionConfig)
        Deprecated.
        Specified by:
        createComparator in interface org.apache.flink.api.common.typeinfo.AtomicType<T>
      • hashCode

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

        public boolean canEqual​(Object obj)
        Deprecated.
        Specified by:
        canEqual in class org.apache.flink.api.common.typeinfo.TypeInformation<T>
      • equals

        public boolean equals​(Object obj)
        Deprecated.
        Specified by:
        equals in class org.apache.flink.api.common.typeinfo.TypeInformation<T>
      • toString

        public String toString()
        Deprecated.
        Specified by:
        toString in class org.apache.flink.api.common.typeinfo.TypeInformation<T>