org.apache.openjpa.persistence.query
public interface CaseExpression
Modifier and Type | Method and Description |
---|---|
Expression |
elseCase(java.util.Calendar arg)
Add else to a case expression.
|
Expression |
elseCase(java.lang.Class arg)
Add else to a case expression.
|
Expression |
elseCase(java.util.Date arg)
Add else to a case expression.
|
Expression |
elseCase(java.lang.Enum<?> arg)
Add else to a case expression.
|
Expression |
elseCase(Expression arg)
Add else to a case expression.
|
Expression |
elseCase(java.lang.Number arg)
Add else to a case expression.
|
Expression |
elseCase(java.lang.String arg)
Add else to a case expression.
|
CaseExpression |
then(java.util.Calendar then)
Add a then clause to a general or simple case expression.
|
CaseExpression |
then(java.lang.Class then)
Add a then clause to a general or simple case expression.
|
CaseExpression |
then(java.util.Date then)
Add a then clause to a general or simple case expression.
|
CaseExpression |
then(java.lang.Enum<?> then)
Add a then clause to a general or simple case expression.
|
CaseExpression |
then(Expression then)
Add a then clause to a general or simple case expression.
|
CaseExpression |
then(java.lang.Number then)
Add a then clause to a general or simple case expression.
|
CaseExpression |
then(java.lang.String then)
Add a then clause to a general or simple case expression.
|
CaseExpression |
when(java.util.Calendar when)
Add a when clause to a simple case expression.
|
CaseExpression |
when(java.lang.Class when)
Add a when clause to a simple case expression.
|
CaseExpression |
when(java.util.Date when)
Add a when clause to a simple case expression.
|
CaseExpression |
when(java.lang.Enum<?> when)
Add a when clause to a simple case expression.
|
CaseExpression |
when(Expression when)
Add a when clause to a simple case expression.
|
CaseExpression |
when(java.lang.Number when)
Add a when clause to a simple case expression.
|
CaseExpression |
when(Predicate pred)
Add a when predicate clause to a general case expression.
|
CaseExpression |
when(java.lang.String when)
Add a when clause to a simple case expression.
|
CaseExpression when(Predicate pred)
pred
- -
corresponds to the evaluation condition for the specific caseCaseExpression when(Expression when)
when
- -
corresponds to the value against which the case operand of
the simple case is testedCaseExpression when(java.lang.Number when)
when
- -
corresponds to the value against which the case operand of
the simple case is testedCaseExpression when(java.lang.String when)
when
- -
corresponds to the value against which the
case operand of the simple case is testedCaseExpression when(java.util.Date when)
when
- -
corresponds to the value against which the case operand of
the simple case is testedCaseExpression when(java.util.Calendar when)
when
- -
corresponds to the value against which the case operand of
the simple case is testedCaseExpression when(java.lang.Class when)
when
- -
corresponds to the value against which the case operand of
the simple case is testedCaseExpression when(java.lang.Enum<?> when)
when
- -
corresponds to the value against which the case operand of
the simple case is testedCaseExpression then(Expression then)
then
- -
corresponds to the result of the case expression if the when
is satisfiedCaseExpression then(java.lang.Number then)
then
- -
corresponds to the result of the case expression if the when
is satisfiedCaseExpression then(java.lang.String then)
then
- -
corresponds to the result of the case expression if the when
is satisfiedCaseExpression then(java.util.Date then)
then
- -
corresponds to the result of the case expression if the when
is satisfiedCaseExpression then(java.util.Calendar then)
then
- -
corresponds to the result of the case expression if the when
is satisfiedCaseExpression then(java.lang.Class then)
then
- -
corresponds to the result of the case expression if the when
is satisfiedCaseExpression then(java.lang.Enum<?> then)
then
- -
corresponds to the result of the case expression if the when
is satisfiedExpression elseCase(Expression arg)
arg
- -
corresponds to the result of the case expression if the when
condition is not satisfiedExpression elseCase(java.lang.String arg)
arg
- -
corresponds to the result of the case expression if the when
condition is not satisfiedExpression elseCase(java.lang.Number arg)
arg
- -
corresponds to the result of the case expression if the when
condition is not satisfiedExpression elseCase(java.util.Date arg)
arg
- -
corresponds to the result of the case expression if the when
condition is not satisfiedExpression elseCase(java.util.Calendar arg)
arg
- -
corresponds to the result of the case expression if the when
condition is not satisfiedExpression elseCase(java.lang.Class arg)
arg
- -
corresponds to the result of the case expression if the when
condition is not satisfiedExpression elseCase(java.lang.Enum<?> arg)
arg
- -
corresponds to the result of the case expression if the when
condition is not satisfied