org.apache.openjpa.persistence.query
Enum UnaryOperator
java.lang.Object
java.lang.Enum<UnaryOperator>
org.apache.openjpa.persistence.query.UnaryOperator
- All Implemented Interfaces:
- Serializable, Comparable<UnaryOperator>
public enum UnaryOperator
- extends Enum<UnaryOperator>
Enumeration of Operator that operate on a single expression.
- Author:
- Pinaki Poddar
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
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(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 name
NullPointerException
- if the argument is null
toString
public String toString()
- Overrides:
toString
in class Enum<UnaryOperator>
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.