class UnaryOperatorExpression extends ExpressionImpl implements Aggregate
Modifier and Type | Field and Description |
---|---|
protected Expression |
_e |
protected UnaryFunctionalOperator |
_op |
CLOSE_BRACE, COMMA, EMPTY, OPEN_BRACE, SPACE
Constructor and Description |
---|
UnaryOperatorExpression(Expression e,
UnaryFunctionalOperator op) |
Modifier and Type | Method and Description |
---|---|
String |
asExpression(AliasContext ctx)
Get a JPQL fragment as used in WHERE clause.
|
String |
asProjection(AliasContext ctx)
Gets the string representation in SELECT projection.
|
Expression |
distinct()
Specify that duplicates are to be removed before the aggregate operation
is invoked.
|
Expression |
getOperand() |
UnaryFunctionalOperator |
getOperator() |
abs, asc, between, between, between, between, between, between, between, between, between, between, between, between, between, concat, concat, desc, dividedBy, dividedBy, equal, equal, equal, equal, equal, equal, equal, equal, getAliasHint, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, in, in, in, in, in, in, isNull, length, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessThan, lessThan, lessThan, lessThan, lessThan, like, like, like, like, like, like, locate, locate, locate, locate, locate, locate, lower, member, minus, minus, minus, mod, mod, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, plus, plus, sqrt, substring, substring, substring, substring, substring, substring, times, times, trim, trim, trim, trim, trim, trim, upper
asJoinable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abs, concat, concat, dividedBy, dividedBy, in, in, in, in, in, in, isNull, length, locate, locate, locate, locate, locate, locate, lower, member, minus, minus, minus, mod, mod, plus, plus, sqrt, substring, substring, substring, substring, substring, substring, times, times, trim, trim, trim, trim, trim, trim, upper
asc, desc
between, between, between, between, between, between, between, between, between, between, between, between, between, equal, equal, equal, equal, equal, equal, equal, equal, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessThan, lessThan, lessThan, lessThan, lessThan, like, like, like, like, like, like, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual
asJoinable
protected final Expression _e
protected final UnaryFunctionalOperator _op
public UnaryOperatorExpression(Expression e, UnaryFunctionalOperator op)
public Expression getOperand()
public UnaryFunctionalOperator getOperator()
public Expression distinct()
Aggregate
public String asExpression(AliasContext ctx)
Visitable
asExpression
in interface Visitable
asExpression
in class AbstractVisitable
public String asProjection(AliasContext ctx)
Visitable
asProjection
in interface Visitable
asProjection
in class AbstractVisitable
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.