class BinaryExpressionPredicate extends AbstractVisitable implements Predicate, Visitable
Modifier and Type | Field and Description |
---|---|
protected Expression |
_e1 |
protected Expression |
_e2 |
protected BinaryConditionalOperator |
_op |
CLOSE_BRACE, COMMA, EMPTY, OPEN_BRACE
Constructor and Description |
---|
BinaryExpressionPredicate(Expression e1,
BinaryConditionalOperator op,
BinaryConditionalOperator nop,
Expression e2) |
Modifier and Type | Method and Description |
---|---|
Predicate |
and(Predicate predicate)
Creates an AND of the predicate with the argument.
|
java.lang.String |
asExpression(AliasContext ctx)
Get a JPQL fragment as used in WHERE clause.
|
(package private) java.lang.String |
asExpression(Visitable v,
AliasContext ctx) |
Expression |
getOperand() |
Expression |
getOperand2() |
BinaryConditionalOperator |
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, getAliasHint
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asJoinable, asProjection, getAliasHint
protected final Expression _e1
protected final Expression _e2
protected final BinaryConditionalOperator _op
BinaryExpressionPredicate(Expression e1, BinaryConditionalOperator op, BinaryConditionalOperator nop, Expression e2)
public final Expression getOperand()
public final Expression getOperand2()
public final BinaryConditionalOperator getOperator()
public Predicate and(Predicate predicate)
Predicate
public Predicate or(Predicate predicate)
Predicate
public Predicate not()
Predicate
public java.lang.String asExpression(AliasContext ctx)
Visitable
asExpression
in interface Visitable
asExpression
in class AbstractVisitable
java.lang.String asExpression(Visitable v, AliasContext ctx)
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.