Package adalid.core.enums
Enum ScalarOp
- java.lang.Object
-
- java.lang.Enum<ScalarOp>
-
- adalid.core.enums.ScalarOp
-
- All Implemented Interfaces:
Operator,Serializable,Comparable<ScalarOp>
public enum ScalarOp extends Enum<ScalarOp> implements Operator
- Author:
- Jorge Campins
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ScalarOpvalueOf(String name)Returns the enum constant of this type with the specified name.static ScalarOp[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SELF
public static final ScalarOp SELF
-
DEFAULT_WHEN_NULL
public static final ScalarOp DEFAULT_WHEN_NULL
-
NULL_WHEN_DEFAULT
public static final ScalarOp NULL_WHEN_DEFAULT
-
NOT
public static final ScalarOp NOT
-
LOWER
public static final ScalarOp LOWER
-
UPPER
public static final ScalarOp UPPER
-
CAPITALIZE
public static final ScalarOp CAPITALIZE
-
UNCAPITALIZE
public static final ScalarOp UNCAPITALIZE
-
TRIM
public static final ScalarOp TRIM
-
LTRIM
public static final ScalarOp LTRIM
-
RTRIM
public static final ScalarOp RTRIM
-
MODULUS
public static final ScalarOp MODULUS
-
OPPOSITE
public static final ScalarOp OPPOSITE
-
RECIPROCAL
public static final ScalarOp RECIPROCAL
-
YEAR
public static final ScalarOp YEAR
-
MONTH
public static final ScalarOp MONTH
-
DAY
public static final ScalarOp DAY
-
HOUR
public static final ScalarOp HOUR
-
MINUTE
public static final ScalarOp MINUTE
-
SECOND
public static final ScalarOp SECOND
-
FIRST_DATE_OF_MONTH
public static final ScalarOp FIRST_DATE_OF_MONTH
-
FIRST_DATE_OF_QUARTER
public static final ScalarOp FIRST_DATE_OF_QUARTER
-
FIRST_DATE_OF_SEMESTER
public static final ScalarOp FIRST_DATE_OF_SEMESTER
-
FIRST_DATE_OF_YEAR
public static final ScalarOp FIRST_DATE_OF_YEAR
-
LAST_DATE_OF_MONTH
public static final ScalarOp LAST_DATE_OF_MONTH
-
LAST_DATE_OF_QUARTER
public static final ScalarOp LAST_DATE_OF_QUARTER
-
LAST_DATE_OF_SEMESTER
public static final ScalarOp LAST_DATE_OF_SEMESTER
-
LAST_DATE_OF_YEAR
public static final ScalarOp LAST_DATE_OF_YEAR
-
TO_BOOLEAN
public static final ScalarOp TO_BOOLEAN
-
TO_CHARACTER
public static final ScalarOp TO_CHARACTER
-
TO_STRING
public static final ScalarOp TO_STRING
-
TO_LOCALE_STRING
public static final ScalarOp TO_LOCALE_STRING
-
TO_BYTE
public static final ScalarOp TO_BYTE
-
TO_SHORT
public static final ScalarOp TO_SHORT
-
TO_INTEGER
public static final ScalarOp TO_INTEGER
-
TO_LONG
public static final ScalarOp TO_LONG
-
TO_FLOAT
public static final ScalarOp TO_FLOAT
-
TO_DOUBLE
public static final ScalarOp TO_DOUBLE
-
TO_BIG_INTEGER
public static final ScalarOp TO_BIG_INTEGER
-
TO_BIG_DECIMAL
public static final ScalarOp TO_BIG_DECIMAL
-
TO_DATE
public static final ScalarOp TO_DATE
-
TO_TIME
public static final ScalarOp TO_TIME
-
TO_TIMESTAMP
public static final ScalarOp TO_TIMESTAMP
-
-
Method Detail
-
values
public static ScalarOp[] 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 (ScalarOp c : ScalarOp.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScalarOp 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
-
-