Enum UnaryFunctionalOperator
- java.lang.Object
-
- java.lang.Enum<UnaryFunctionalOperator>
-
- org.apache.openjpa.persistence.query.UnaryFunctionalOperator
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UnaryFunctionalOperator>
public enum UnaryFunctionalOperator extends java.lang.Enum<UnaryFunctionalOperator>
Enumeration of operator that operates on a single expression to generate another expression.- Author:
- Pinaki Poddar
- See Also:
UnaryOperatorExpression
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static UnaryFunctionalOperator
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UnaryFunctionalOperator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABS
public static final UnaryFunctionalOperator ABS
-
ALL
public static final UnaryFunctionalOperator ALL
-
ANY
public static final UnaryFunctionalOperator ANY
-
AVG
public static final UnaryFunctionalOperator AVG
-
CONCAT
public static final UnaryFunctionalOperator CONCAT
-
COUNT
public static final UnaryFunctionalOperator COUNT
-
DISTINCT
public static final UnaryFunctionalOperator DISTINCT
-
EXISTS
public static final UnaryFunctionalOperator EXISTS
-
INDEX
public static final UnaryFunctionalOperator INDEX
-
LENGTH
public static final UnaryFunctionalOperator LENGTH
-
LOCATE
public static final UnaryFunctionalOperator LOCATE
-
LOWER
public static final UnaryFunctionalOperator LOWER
-
MAX
public static final UnaryFunctionalOperator MAX
-
MIN
public static final UnaryFunctionalOperator MIN
-
MINUS
public static final UnaryFunctionalOperator MINUS
-
SIZE
public static final UnaryFunctionalOperator SIZE
-
SOME
public static final UnaryFunctionalOperator SOME
-
SQRT
public static final UnaryFunctionalOperator SQRT
-
SUBSTR
public static final UnaryFunctionalOperator SUBSTR
-
SUM
public static final UnaryFunctionalOperator SUM
-
TRIM
public static final UnaryFunctionalOperator TRIM
-
TYPE
public static final UnaryFunctionalOperator TYPE
-
UPPER
public static final UnaryFunctionalOperator UPPER
-
-
Method Detail
-
values
public static UnaryFunctionalOperator[] 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 (UnaryFunctionalOperator c : UnaryFunctionalOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UnaryFunctionalOperator 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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<UnaryFunctionalOperator>
-
-