class UnaryExpressionPredicate extends AbstractVisitable implements Predicate, Visitable
| Modifier and Type | Field and Description |
|---|---|
protected Expression |
_e |
protected UnaryConditionalOperator |
_op |
CLOSE_BRACE, COMMA, EMPTY, OPEN_BRACE, SPACE| Constructor and Description |
|---|
UnaryExpressionPredicate(Expression e,
UnaryConditionalOperator op,
UnaryConditionalOperator nop) |
| Modifier and Type | Method and Description |
|---|---|
Predicate |
and(Predicate predicate)
Creates an AND of the predicate with the argument.
|
String |
asExpression(AliasContext ctx)
Get a JPQL fragment as used in WHERE clause.
|
Expression |
getOperand() |
UnaryConditionalOperator |
getOperator() |
Predicate |
not()
Creates a negation of the predicate with the argument.
|
Predicate |
or(Predicate predicate)
Creates an OR of the predicate with the argument.
|
asJoinable, asProjection, getAliasHintclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasJoinable, asProjection, getAliasHintprotected final Expression _e
protected final UnaryConditionalOperator _op
public UnaryExpressionPredicate(Expression e, UnaryConditionalOperator op, UnaryConditionalOperator nop)
public Expression getOperand()
public UnaryConditionalOperator getOperator()
public Predicate and(Predicate predicate)
Predicatepublic Predicate or(Predicate predicate)
Predicatepublic Predicate not()
Predicatepublic String asExpression(AliasContext ctx)
VisitableasExpression in interface VisitableasExpression in class AbstractVisitableCopyright © 2006–2013 Apache Software Foundation. All rights reserved.