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