public class OrPredicate extends LogicalPredicate
Modifier and Type | Field and Description |
---|---|
static String |
CLOSE_BRACE |
static String |
COMMA |
static String |
EMPTY |
static String |
OPEN_BRACE |
static String |
SPACE |
Constructor and Description |
---|
OrPredicate(Predicate p1,
Predicate p2) |
Modifier and Type | Method and Description |
---|---|
String |
asJoinable(org.apache.openjpa.persistence.query.AliasContext ctx)
Gets the string representation in FROM clause.
|
String |
asProjection(org.apache.openjpa.persistence.query.AliasContext ctx)
Gets the string representation in SELECT projection.
|
String |
getAliasHint(org.apache.openjpa.persistence.query.AliasContext ctx)
Gets the hint to be used while creating alias.
|
and, asExpression, not, or
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asJoinable, asProjection, getAliasHint
public static final String SPACE
public static final String OPEN_BRACE
public static final String CLOSE_BRACE
public static final String COMMA
public static final String EMPTY
public String asProjection(org.apache.openjpa.persistence.query.AliasContext ctx)
Visitable
asProjection
in interface Visitable
public String getAliasHint(org.apache.openjpa.persistence.query.AliasContext ctx)
Visitable
getAliasHint
in interface Visitable
public String asJoinable(org.apache.openjpa.persistence.query.AliasContext ctx)
Visitable
asJoinable
in interface Visitable
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.