StorageType Objects

Subclass of Enum.

This class enumerates the valid storage types for columns in a DataModel or parameters.

Constants:

  • DATE (StorageType) : Indicates that the storage type is a date type.
  • INTEGER (StorageType) : Indicates that the storage type is an integer.
  • LIST (StorageType) : Indicates that the storage type is a list of primitive values.
  • REAL (StorageType) : Indicates that the storage type is a floating point number.
  • STRING (StorageType) : Indicates that the storage type is a string.
  • TIME (StorageType) : Indicates that the storage type is a time type.
  • TIMESTAMP (StorageType) : Indicates that the storage type is a combined time and date type.
  • UNKNOWN (StorageType) : Indicates that the storage type is unknown.
getEnum(name) : StorageType

name (string) : the enumeration name

Returns the enumeration with the supplied name or None if no enumeration exists for the supplied name.

getValues() : StorageType[]

Returns an array containing all the valid values for this enumeration class.