Enum GoogleSheetsUtils.DATA_TYPES
java.lang.Object
java.lang.Enum<GoogleSheetsUtils.DATA_TYPES>
org.apache.drill.exec.store.googlesheets.utils.GoogleSheetsUtils.DATA_TYPES
- All Implemented Interfaces:
Serializable
,Comparable<GoogleSheetsUtils.DATA_TYPES>
- Enclosing class:
- GoogleSheetsUtils
Represents the possible data types found in a GoogleSheets document
-
Enum Constant Summary
Enum ConstantDescriptionA field containing a dateA numeric data type, either a float or an int.A field containing a timeA field containing timestamps.Represents a field before the datatype is knownA string data typeA field containing a list of strings. -
Method Summary
Modifier and TypeMethodDescriptionstatic GoogleSheetsUtils.DATA_TYPES
Returns the enum constant of this type with the specified name.static GoogleSheetsUtils.DATA_TYPES[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
Represents a field before the datatype is known -
NUMERIC
A numeric data type, either a float or an int. These are all converted to Doubles when projected. -
VARCHAR
A string data type -
DATE
A field containing a date -
TIME
A field containing a time -
TIMESTAMP
A field containing timestamps. -
VARCHAR_REPEATED
A field containing a list of strings. Only used for implicit columns.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-