public enum QSelectionFunction extends Enum<QSelectionFunction>
| Enum Constant and Description |
|---|
AVG
agv(x)
|
COUNT
count() the #of rows
|
COUNT_DISTINCT
count a distinct thingerydoo
|
DISTINCT
Make a distinct selection
|
ID
A selector for the primary key
|
MAX
max(x)
|
MIN
min(x)
|
PROPERTY
A selector which represents a property of the object
|
ROWCOUNT
Hibernate has this, but probably has no idea where to get this from
|
SUM
sum(x)
|
USER
An user-defined (database specific) function.
|
| Modifier and Type | Method and Description |
|---|---|
static QSelectionFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QSelectionFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QSelectionFunction MIN
public static final QSelectionFunction MAX
public static final QSelectionFunction AVG
public static final QSelectionFunction SUM
public static final QSelectionFunction COUNT
public static final QSelectionFunction COUNT_DISTINCT
public static final QSelectionFunction ROWCOUNT
public static final QSelectionFunction ID
public static final QSelectionFunction PROPERTY
public static final QSelectionFunction USER
public static final QSelectionFunction DISTINCT
public static QSelectionFunction[] values()
for (QSelectionFunction c : QSelectionFunction.values()) System.out.println(c);
public static QSelectionFunction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017 etc.to. All rights reserved.