java.lang.Object
java.lang.Enum<Type.Column.ColumnBaseType>
com.gpudb.Type.Column.ColumnBaseType
All Implemented Interfaces:
Enclosing class:
An enumeration of base types for column (excluding any property-related subtypes). This is synonymous to using the Class type for the column, but the enumeration provides the ability to use switches instead of if statements for checking which type the column is.
Method Summary
Modifier and TypeMethodDescriptionstatic Type.Column.ColumnBaseTypeReturns the enum constant of this type with the specified name.static Type.Column.ColumnBaseType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
Enum Constant Details
INTEGER
LONG
FLOAT
DOUBLE
STRING
BYTES
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 declaredvalueOf
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 nameThrows:IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null