Enum StandardSQLTypeName

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ARRAY
      Ordered list of zero or more elements of any non-array type.
      BIGNUMERIC
      A decimal value with 76+ digits of precision (the 77th digit is partial) and 38 digits of scale
      BOOL
      A Boolean value (true or false).
      BYTES
      Variable-length binary data.
      DATE
      Represents a logical calendar date.
      DATETIME
      Represents a year, month, day, hour, minute, second, and subsecond (microsecond precision).
      FLOAT64
      A 64-bit IEEE binary floating-point value.
      GEOGRAPHY
      Represents a set of geographic points, represented as a Well Known Text (WKT) string.
      INT64
      A 64-bit signed integer value.
      INTERVAL
      Represents duration or amount of time.
      JSON
      Represents JSON data.
      NUMERIC
      A decimal value with 38 digits of precision and 9 digits of scale.
      STRING
      Variable-length character (Unicode) data.
      STRUCT
      Container of ordered fields each with a type (required) and field name (optional).
      TIME
      Represents a time, independent of a specific date, to microsecond precision.
      TIMESTAMP
      Represents an absolute point in time, with microsecond precision.
    • Enum Constant Detail

      • FLOAT64

        public static final StandardSQLTypeName FLOAT64
        A 64-bit IEEE binary floating-point value.
      • NUMERIC

        public static final StandardSQLTypeName NUMERIC
        A decimal value with 38 digits of precision and 9 digits of scale.
      • BIGNUMERIC

        public static final StandardSQLTypeName BIGNUMERIC
        A decimal value with 76+ digits of precision (the 77th digit is partial) and 38 digits of scale
      • STRING

        public static final StandardSQLTypeName STRING
        Variable-length character (Unicode) data.
      • STRUCT

        public static final StandardSQLTypeName STRUCT
        Container of ordered fields each with a type (required) and field name (optional).
      • ARRAY

        public static final StandardSQLTypeName ARRAY
        Ordered list of zero or more elements of any non-array type.
      • TIMESTAMP

        public static final StandardSQLTypeName TIMESTAMP
        Represents an absolute point in time, with microsecond precision. Values range between the years 1 and 9999, inclusive.
      • DATE

        public static final StandardSQLTypeName DATE
        Represents a logical calendar date. Values range between the years 1 and 9999, inclusive.
      • TIME

        public static final StandardSQLTypeName TIME
        Represents a time, independent of a specific date, to microsecond precision.
      • DATETIME

        public static final StandardSQLTypeName DATETIME
        Represents a year, month, day, hour, minute, second, and subsecond (microsecond precision).
      • GEOGRAPHY

        public static final StandardSQLTypeName GEOGRAPHY
        Represents a set of geographic points, represented as a Well Known Text (WKT) string.
      • INTERVAL

        public static final StandardSQLTypeName INTERVAL
        Represents duration or amount of time.
    • Method Detail

      • values

        public static StandardSQLTypeName[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (StandardSQLTypeName c : StandardSQLTypeName.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StandardSQLTypeName valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null