Class OrPredicate
java.lang.Object
org.apache.openjpa.persistence.query.LogicalPredicate
org.apache.openjpa.persistence.query.OrPredicate
- All Implemented Interfaces:
Serializable
,Predicate
,Visitable
Denotes (e1 OR e2) predicate.
- Author:
- Pinaki Poddar
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasJoinable
(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.Methods inherited from class org.apache.openjpa.persistence.query.LogicalPredicate
and, asExpression, not, or
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
-
SPACE
- See Also:
-
OPEN_BRACE
- See Also:
-
CLOSE_BRACE
- See Also:
-
COMMA
- See Also:
-
EMPTY
- See Also:
-
-
Constructor Details
-
OrPredicate
-
-
Method Details
-
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
-