JavaScript is disabled on your browser.
Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
If the data type is an array type, returns the type of the elements.
int
Returns the integer value for this Data type
Returns the type in the Java world that would encapsulate this type
Returns the category of data the type represents.
Gets the DataType for the given java class, returning NULL if a match can't be found.
Returns the DataType for the given int value.
boolean
Returns true for array types and dataset
boolean
boolean
Returns true for integer and float types, and false for everything else (including boolean)
Pre-8 Ignition did not have certain data types.
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
Float4Array
public static final DataType Float4Array
Float8Array
public static final DataType Float8Array
BooleanArray
public static final DataType BooleanArray
StringArray
public static final DataType StringArray
DateTimeArray
public static final DataType DateTimeArray
Method Details
values
Returns an array containing the constants of this enum class, in
the order they are declared.
Returns:
an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (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 class has no constant with the specified name
NullPointerException
- if the argument is null
getIntValue
public int getIntValue ()
Returns the integer value for this Data type
getJavaType
public Class <?> getJavaType ()
Returns the type in the Java world that would encapsulate this type
getComponentDataType
If the data type is an array type, returns the type of the elements. Otherwise, returns the type itself.
isArray
public boolean isArray ()
Returns true for array types and dataset
getTypeClass
Returns the category of data the type represents.
isNumeric
public boolean isNumeric ()
Returns true for integer and float types, and false for everything else (including boolean)
isFloatingPoint
public boolean isFloatingPoint ()
getTypeForValue
public static DataType getTypeForValue (int val)
Returns the DataType for the given int value. If there is no Data type for that value, null is returned.
getTypeForClass
Gets the DataType for the given java class, returning NULL if a match can't be found.
legacyDataType
Pre-8 Ignition did not have certain data types. This function returns String if the type didn't exist.