public class IsNullExpression extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Expression |
_e |
protected UnaryConditionalOperator |
_op |
static String |
CLOSE_BRACE |
static String |
COMMA |
static String |
EMPTY |
static String |
OPEN_BRACE |
static String |
SPACE |
| Constructor and Description |
|---|
IsNullExpression(Expression op) |
| Modifier and Type | Method and Description |
|---|---|
Predicate |
and(Predicate predicate)
Creates an AND of the predicate with the argument.
|
String |
asExpression(org.apache.openjpa.persistence.query.AliasContext ctx)
Get a JPQL fragment as used in WHERE clause.
|
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.
|
Expression |
getOperand() |
UnaryConditionalOperator |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasJoinable, asProjection, getAliasHintprotected final Expression _e
protected final UnaryConditionalOperator _op
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 IsNullExpression(Expression op)
public String asExpression(org.apache.openjpa.persistence.query.AliasContext ctx)
VisitableasExpression in interface Visitablepublic Expression getOperand()
public UnaryConditionalOperator getOperator()
public Predicate and(Predicate predicate)
Predicatepublic Predicate or(Predicate predicate)
Predicatepublic Predicate not()
Predicatepublic String asProjection(org.apache.openjpa.persistence.query.AliasContext ctx)
VisitableasProjection in interface Visitablepublic String getAliasHint(org.apache.openjpa.persistence.query.AliasContext ctx)
VisitablegetAliasHint in interface Visitablepublic String asJoinable(org.apache.openjpa.persistence.query.AliasContext ctx)
VisitableasJoinable in interface VisitableCopyright © 2006–2022 Apache Software Foundation. All rights reserved.