public enum ExtOps extends Enum<ExtOps> implements com.querydsl.core.types.Operator
These Operators for QueryDsl represents the operators supported by our extensions
of JPQL (see SessionFactoryEnhancer).
Example :
Expressions.simpleOperation(Long.class, ExAggOps.S_SUM, mySubQueryExpression)
Expressions.simpleOperation(String.class, ExAggOps.ORDERED_GROUP_CONCAT_DIR, attrConcatPath, Expressions.constant('order by'), attrSortPath, Expressions.constant('asc'))
The usage syntax for GROUP_CONCAT is explained in SessionFactoryEnhancer
| Modifier and Type | Class and Description |
|---|---|
static class |
ExtOps.ConcatOrder |
| Enum Constant and Description |
|---|
GROUP_CONCAT |
ORDERED_GROUP_CONCAT |
ORDERED_GROUP_CONCAT_DIR |
S_AVG |
S_COUNT |
S_MAX |
S_MIN |
S_SUM |
TRUE_IF |
YEAR_MONTH_DAY |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getType() |
static ExtOps |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExtOps[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtOps S_COUNT
public static final ExtOps S_SUM
public static final ExtOps S_MIN
public static final ExtOps S_MAX
public static final ExtOps S_AVG
public static final ExtOps GROUP_CONCAT
public static final ExtOps ORDERED_GROUP_CONCAT
public static final ExtOps ORDERED_GROUP_CONCAT_DIR
public static final ExtOps TRUE_IF
public static final ExtOps YEAR_MONTH_DAY
public static ExtOps[] values()
for (ExtOps c : ExtOps.values()) System.out.println(c);
public static ExtOps 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 nullpublic Class<?> getType()
getType in interface com.querydsl.core.types.OperatorCopyright © 2010–2016 Henix, henix.fr. All rights reserved.