Enum CastExpression.Type
- java.lang.Object
-
- java.lang.Enum<CastExpression.Type>
-
- me.danwi.sqlex.core.query.expression.CastExpression.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CastExpression.Type>
- Enclosing class:
- CastExpression
public static enum CastExpression.Type extends java.lang.Enum<CastExpression.Type>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CastExpression.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CastExpression.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BINARY
public static final CastExpression.Type BINARY
-
CHAR
public static final CastExpression.Type CHAR
-
DATE
public static final CastExpression.Type DATE
-
DATETIME
public static final CastExpression.Type DATETIME
-
DECIMAL
public static final CastExpression.Type DECIMAL
-
DOUBLE
public static final CastExpression.Type DOUBLE
-
FLOAT
public static final CastExpression.Type FLOAT
-
JSON
public static final CastExpression.Type JSON
-
NCHAR
public static final CastExpression.Type NCHAR
-
REAL
public static final CastExpression.Type REAL
-
SIGNED
public static final CastExpression.Type SIGNED
-
TIME
public static final CastExpression.Type TIME
-
UNSIGNED
public static final CastExpression.Type UNSIGNED
-
YEAR
public static final CastExpression.Type YEAR
-
-
Method Detail
-
values
public static CastExpression.Type[] 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 (CastExpression.Type c : CastExpression.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CastExpression.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-