public class OrPredicate extends LogicalPredicate
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLOSE_BRACE |
static java.lang.String |
COMMA |
static java.lang.String |
EMPTY |
static java.lang.String |
OPEN_BRACE |
static java.lang.String |
SPACE |
Constructor and Description |
---|
OrPredicate(Predicate p1,
Predicate p2) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
asJoinable(org.apache.openjpa.persistence.query.AliasContext ctx)
Gets the string representation in FROM clause.
|
java.lang.String |
asProjection(org.apache.openjpa.persistence.query.AliasContext ctx)
Gets the string representation in SELECT projection.
|
java.lang.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 java.lang.String SPACE
public static final java.lang.String OPEN_BRACE
public static final java.lang.String CLOSE_BRACE
public static final java.lang.String COMMA
public static final java.lang.String EMPTY
public java.lang.String asProjection(org.apache.openjpa.persistence.query.AliasContext ctx)
Visitable
asProjection
in interface Visitable
public java.lang.String getAliasHint(org.apache.openjpa.persistence.query.AliasContext ctx)
Visitable
getAliasHint
in interface Visitable
public java.lang.String asJoinable(org.apache.openjpa.persistence.query.AliasContext ctx)
Visitable
asJoinable
in interface Visitable