Class LessEqualExpression
java.lang.Object
org.apache.openjpa.persistence.query.LessEqualExpression
- All Implemented Interfaces:
Serializable
,Predicate
,Visitable
Denotes e1 <= e2 Expression.
- Author:
- Pinaki Poddar
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Expression
protected final Expression
protected final BinaryConditionalOperator
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates an AND of the predicate with the argument.asExpression
(org.apache.openjpa.persistence.query.AliasContext ctx) Get a JPQL fragment as used in WHERE clause.asJoinable
(org.apache.openjpa.persistence.query.AliasContext ctx) Gets the string representation in FROM clause.asProjection
(org.apache.openjpa.persistence.query.AliasContext ctx) Gets the string representation in SELECT projection.getAliasHint
(org.apache.openjpa.persistence.query.AliasContext ctx) Gets the hint to be used while creating alias.final Expression
final Expression
not()
Creates a negation of the predicate with the argument.Creates an OR of the predicate with the argument.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.openjpa.persistence.query.Visitable
asJoinable, asProjection, getAliasHint
-
Field Details
-
_e1
-
_e2
-
_op
-
OPEN_BRACE
- See Also:
-
CLOSE_BRACE
- See Also:
-
COMMA
- See Also:
-
EMPTY
- See Also:
-
-
Constructor Details
-
LessEqualExpression
-
-
Method Details
-
getOperand
-
getOperand2
-
getOperator
-
and
Description copied from interface:Predicate
Creates an AND of the predicate with the argument. -
or
Description copied from interface:Predicate
Creates an OR of the predicate with the argument. -
not
Description copied from interface:Predicate
Creates a negation of the predicate with the argument. -
asExpression
Description copied from interface:Visitable
Get a JPQL fragment as used in WHERE clause.- Specified by:
asExpression
in interfaceVisitable
-
asProjection
Description copied from interface:Visitable
Gets the string representation in SELECT projection.- Specified by:
asProjection
in interfaceVisitable
-
getAliasHint
Description copied from interface:Visitable
Gets the hint to be used while creating alias.- Specified by:
getAliasHint
in interfaceVisitable
-
asJoinable
Description copied from interface:Visitable
Gets the string representation in FROM clause.- Specified by:
asJoinable
in interfaceVisitable
-