Package com.yahoo.gsheetjdbc.schema
Enum Column.ColumnType
- java.lang.Object
-
- java.lang.Enum<Column.ColumnType>
-
- com.yahoo.gsheetjdbc.schema.Column.ColumnType
-
- All Implemented Interfaces:
Serializable,Comparable<Column.ColumnType>
- Enclosing class:
- Column
public static enum Column.ColumnType extends Enum<Column.ColumnType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Column.ColumnTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Column.ColumnType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATE
public static final Column.ColumnType DATE
-
DATETIME
public static final Column.ColumnType DATETIME
-
STRING
public static final Column.ColumnType STRING
-
BOOLEAN
public static final Column.ColumnType BOOLEAN
-
NUMBER
public static final Column.ColumnType NUMBER
-
-
Method Detail
-
values
public static Column.ColumnType[] 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 (Column.ColumnType c : Column.ColumnType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Column.ColumnType 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 nameNullPointerException- if the argument is null
-
-