Class HiveConstants.Types

  • Enclosing class:
    HiveConstants

    public static final class HiveConstants.Types
    extends java.lang.Object
    Hive Types.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BIGINT
      Hive big int type.
      static java.lang.String BINARY
      Hive binary type.
      static java.lang.String BOOLEAN
      Hive bool type.
      static java.lang.String CHAR
      Hive char type.
      static java.lang.String DATE
      Hive date type.
      static java.lang.String DECIMAL
      Hive decimal type.
      static java.lang.String DOUBLE
      Hive double type.
      static java.lang.String FLOAT
      Hive float type.
      static java.lang.String INT
      Hive int type.
      static java.lang.String SMALLINT
      Hive small int type.
      static java.lang.String STRING
      Hive string type.
      static java.lang.String TIMESTAMP
      Hive timestamp type.
      static java.lang.String TINYINT
      Hive tiny int type.
      static java.lang.String VARCHAR
      Hive varchar type.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getHiveConstantType​(java.lang.String type)
      Filters out parts of type information to match the types constant for type checking.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getHiveConstantType

        public static java.lang.String getHiveConstantType​(java.lang.String type)
        Filters out parts of type information to match the types constant for type checking.
        Parameters:
        type - the type
        Returns:
        type name matching the types constants