Package | Description |
---|---|
org.apache.openjpa.jdbc.kernel.exps |
OpenJPA-JDBC Expression Tree
|
org.apache.openjpa.kernel.exps |
OpenJPA Expression Tree
|
org.apache.openjpa.kernel.jpql |
JPA Query Language Support
Allow any spec or store to use JPQL.
|
Modifier and Type | Method and Description |
---|---|
Expression |
JDBCExpressionFactory.and(Expression exp1,
Expression exp2) |
Expression |
JDBCExpressionFactory.asExpression(Value v) |
Expression |
JDBCExpressionFactory.bindKeyVariable(Value var,
Value val) |
Expression |
JDBCExpressionFactory.bindValueVariable(Value var,
Value val) |
Expression |
JDBCExpressionFactory.bindVariable(Value var,
Value val) |
Expression |
JDBCExpressionFactory.contains(Value map,
Value arg) |
Expression |
JDBCExpressionFactory.containsKey(Value map,
Value arg) |
Expression |
JDBCExpressionFactory.containsValue(Value map,
Value arg) |
Expression |
JDBCExpressionFactory.emptyExpression() |
Expression |
JDBCExpressionFactory.endsWith(Value v1,
Value v2) |
Expression |
JDBCExpressionFactory.equal(Value v1,
Value v2) |
Expression |
JDBCExpressionFactory.greaterThan(Value v1,
Value v2) |
Expression |
JDBCExpressionFactory.greaterThanEqual(Value v1,
Value v2) |
Expression |
JDBCExpressionFactory.isEmpty(Value val) |
Expression |
JDBCExpressionFactory.isInstance(Value val,
Class c) |
Expression |
JDBCExpressionFactory.isNotEmpty(Value val) |
Expression |
JDBCExpressionFactory.lessThan(Value v1,
Value v2) |
Expression |
JDBCExpressionFactory.lessThanEqual(Value v1,
Value v2) |
Expression |
JDBCExpressionFactory.matches(Value v1,
Value v2,
String single,
String multi,
String esc) |
Expression |
JDBCExpressionFactory.not(Expression exp) |
Expression |
JDBCExpressionFactory.notEqual(Value v1,
Value v2) |
Expression |
JDBCExpressionFactory.notMatches(Value v1,
Value v2,
String single,
String multi,
String esc) |
Expression |
JDBCExpressionFactory.or(Expression exp1,
Expression exp2) |
Expression |
JDBCExpressionFactory.startsWith(Value v1,
Value v2) |
Expression |
JDBCExpressionFactory.whenCondition(Expression exp,
Value val) |
Expression |
JDBCExpressionFactory.whenScalar(Value val1,
Value val2) |
Modifier and Type | Method and Description |
---|---|
Expression |
JDBCExpressionFactory.and(Expression exp1,
Expression exp2) |
Value |
JDBCExpressionFactory.generalCaseExpression(Expression[] exp,
Value val) |
Expression |
JDBCExpressionFactory.not(Expression exp) |
Expression |
JDBCExpressionFactory.or(Expression exp1,
Expression exp2) |
Value |
JDBCExpressionFactory.simpleCaseExpression(Value caseOperand,
Expression[] exp,
Value val1) |
Expression |
JDBCExpressionFactory.whenCondition(Expression exp,
Value val) |
Modifier and Type | Class and Description |
---|---|
class |
Exp
An in-memory representation of an
Expression . |
class |
WhenCondition |
class |
WhenScalar |
Modifier and Type | Field and Description |
---|---|
Expression |
QueryExpressions.filter |
Expression |
Context.from |
Expression |
QueryExpressions.having |
Modifier and Type | Method and Description |
---|---|
Expression |
ExpressionFactory.and(Expression exp1,
Expression exp2)
Return the two expressions AND'd together.
|
Expression |
InMemoryExpressionFactory.and(Expression exp1,
Expression exp2) |
Expression |
ExpressionFactory.asExpression(Value bool)
Return the given value as an expression.
|
Expression |
InMemoryExpressionFactory.asExpression(Value v) |
Expression |
ExpressionFactory.bindKeyVariable(Value var,
Value map)
Bind the given variable to the key set of the given map value.
|
Expression |
InMemoryExpressionFactory.bindKeyVariable(Value var,
Value val) |
Expression |
ExpressionFactory.bindValueVariable(Value var,
Value map)
Bind the given variable to the value set of the given map value.
|
Expression |
InMemoryExpressionFactory.bindValueVariable(Value var,
Value val) |
Expression |
ExpressionFactory.bindVariable(Value var,
Value coll)
Bind the given variable to the given collection value.
|
Expression |
InMemoryExpressionFactory.bindVariable(Value var,
Value val) |
Expression |
ExpressionFactory.contains(Value coll,
Value arg)
Return an expression representing the given condition.
|
Expression |
InMemoryExpressionFactory.contains(Value v1,
Value v2) |
Expression |
ExpressionFactory.containsKey(Value map,
Value arg)
Return an expression representing the given condition.
|
Expression |
InMemoryExpressionFactory.containsKey(Value v1,
Value v2) |
Expression |
ExpressionFactory.containsValue(Value map,
Value arg)
Return an expression representing the given condition.
|
Expression |
InMemoryExpressionFactory.containsValue(Value v1,
Value v2) |
Expression |
ExpressionFactory.emptyExpression()
Return a blank expression; this is used when the filter is empty.
|
Expression |
InMemoryExpressionFactory.emptyExpression() |
Expression |
ExpressionFactory.endsWith(Value str1,
Value str2)
Return whether the first string ends with the second.
|
Expression |
InMemoryExpressionFactory.endsWith(Value v1,
Value v2) |
Expression |
ExpressionFactory.equal(Value v1,
Value v2)
Return an expression representing the given condition.
|
Expression |
InMemoryExpressionFactory.equal(Value v1,
Value v2) |
Expression |
ExpressionFactory.greaterThan(Value v1,
Value v2)
Return an expression representing the given condition.
|
Expression |
InMemoryExpressionFactory.greaterThan(Value v1,
Value v2) |
Expression |
ExpressionFactory.greaterThanEqual(Value v1,
Value v2)
Return an expression representing the given condition.
|
Expression |
InMemoryExpressionFactory.greaterThanEqual(Value v1,
Value v2) |
Expression |
ExpressionFactory.isEmpty(Value target)
Return an expression representing the given condition.
|
Expression |
InMemoryExpressionFactory.isEmpty(Value v1) |
Expression |
ExpressionFactory.isInstance(Value obj,
Class c)
Return whether the first value is an instance of the given class.
|
Expression |
InMemoryExpressionFactory.isInstance(Value v1,
Class c) |
Expression |
ExpressionFactory.isNotEmpty(Value target)
Return an expression representing the given condition.
|
Expression |
InMemoryExpressionFactory.isNotEmpty(Value v1) |
Expression |
ExpressionFactory.lessThan(Value v1,
Value v2)
Return an expression representing the given condition.
|
Expression |
InMemoryExpressionFactory.lessThan(Value v1,
Value v2) |
Expression |
ExpressionFactory.lessThanEqual(Value v1,
Value v2)
Return an expression representing the given condition.
|
Expression |
InMemoryExpressionFactory.lessThanEqual(Value v1,
Value v2) |
Expression |
ExpressionFactory.matches(Value str,
Value regexp,
String single,
String multi,
String escape)
Return whether the string matches the matching pattern.
|
Expression |
InMemoryExpressionFactory.matches(Value v1,
Value v2,
String single,
String multi,
String esc) |
Expression |
ExpressionFactory.not(Expression exp)
Return the inverse of this expression.
|
Expression |
InMemoryExpressionFactory.not(Expression exp) |
Expression |
ExpressionFactory.notEqual(Value v1,
Value v2)
Return an expression representing the given condition.
|
Expression |
InMemoryExpressionFactory.notEqual(Value v1,
Value v2) |
Expression |
ExpressionFactory.notMatches(Value str,
Value regexp,
String single,
String multi,
String escape)
Return whether the string does not match the given pattern.
|
Expression |
InMemoryExpressionFactory.notMatches(Value v1,
Value v2,
String single,
String multi,
String esc) |
Expression |
ExpressionFactory.or(Expression exp1,
Expression exp2)
Return the two expressions OR'd together.
|
Expression |
InMemoryExpressionFactory.or(Expression exp1,
Expression exp2) |
Expression |
ExpressionFactory.startsWith(Value str1,
Value str2)
Return whether the first string starts with the second.
|
Expression |
InMemoryExpressionFactory.startsWith(Value v1,
Value v2) |
Expression |
ExpressionFactory.whenCondition(Expression exp,
Value val)
Return a when condidional clause
|
Expression |
InMemoryExpressionFactory.whenCondition(Expression exp,
Value val) |
Expression |
ExpressionFactory.whenScalar(Value val1,
Value val2)
Return a when scalar_expression clause
|
Expression |
InMemoryExpressionFactory.whenScalar(Value val1,
Value val2) |
Modifier and Type | Method and Description |
---|---|
Expression |
ExpressionFactory.and(Expression exp1,
Expression exp2)
Return the two expressions AND'd together.
|
Expression |
InMemoryExpressionFactory.and(Expression exp1,
Expression exp2) |
void |
AbstractExpressionVisitor.enter(Expression exp) |
void |
ExpressionVisitor.enter(Expression exp)
Enter an expression.
|
void |
AbstractExpressionVisitor.exit(Expression exp) |
void |
ExpressionVisitor.exit(Expression exp)
Leave an expression.
|
Value |
ExpressionFactory.generalCaseExpression(Expression[] exp,
Value val)
Return a general case expression
|
Value |
InMemoryExpressionFactory.generalCaseExpression(Expression[] exp,
Value val) |
Expression |
ExpressionFactory.not(Expression exp)
Return the inverse of this expression.
|
Expression |
InMemoryExpressionFactory.not(Expression exp) |
Expression |
ExpressionFactory.or(Expression exp1,
Expression exp2)
Return the two expressions OR'd together.
|
Expression |
InMemoryExpressionFactory.or(Expression exp1,
Expression exp2) |
Value |
ExpressionFactory.simpleCaseExpression(Value caseOperand,
Expression[] exp,
Value val)
Return a simple case expression
|
Value |
InMemoryExpressionFactory.simpleCaseExpression(Value caseOperand,
Expression[] exp,
Value val) |
Expression |
ExpressionFactory.whenCondition(Expression exp,
Value val)
Return a when condidional clause
|
Expression |
InMemoryExpressionFactory.whenCondition(Expression exp,
Value val) |
Modifier and Type | Method and Description |
---|---|
protected Expression |
JPQLExpressionBuilder.evalFetchJoins(QueryExpressions exps) |
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.