Package | Description |
---|---|
org.apache.openjpa.jdbc.kernel.exps |
OpenJPA-JDBC Expression Tree
|
org.apache.openjpa.jdbc.sql |
OpenJPA-JDBC SQL Abstraction
Utilities for generating SQL.
|
Modifier and Type | Method and Description |
---|---|
void |
PCPath.appendIndex(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
Val.appendIndex(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql)
Append the SQL checking the index of this value.
|
void |
PCPath.appendIsEmpty(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
SubQ.appendIsEmpty(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
Val.appendIsEmpty(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql)
Append the SQL testing whether this value is empty to the given buffer.
|
void |
Args.appendIsEmpty(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
PCPath.appendIsNotEmpty(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
SubQ.appendIsNotEmpty(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
Val.appendIsNotEmpty(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql)
Append the SQL testing whether this value is not empty to
the given buffer.
|
void |
Args.appendIsNotEmpty(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
PCPath.appendIsNotNull(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
Val.appendIsNotNull(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql)
Append the SQL testing whether this value is not null to the given
buffer.
|
void |
Args.appendIsNotNull(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
PCPath.appendIsNull(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
Val.appendIsNull(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql)
Append the SQL testing whether this value is null to the given buffer.
|
void |
Args.appendIsNull(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
PCPath.appendSize(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
SubQ.appendSize(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
Val.appendSize(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql)
Append the SQL checking the size of this value.
|
void |
Args.appendSize(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
WhenScalar.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer buf) |
void |
PCPath.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
WhenCondition.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer buf) |
void |
Trim.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index) |
void |
MapEntry.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index) |
void |
GeneralCaseExpression.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer buf,
int index) |
void |
PCPath.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index) |
void |
Math.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index) |
void |
NullIfExpression.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer buf,
int index) |
void |
CollectionParam.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index) |
void |
CoalesceExpression.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer buf,
int index) |
void |
IndexOf.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index) |
void |
Lit.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index) |
void |
SubQ.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index) |
void |
ToLowerCase.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer buf,
int index) |
void |
Null.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index) |
void |
TypeLit.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index) |
void |
Substring.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index) |
void |
ToUpperCase.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer buf,
int index) |
void |
DatastoreFunction.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index) |
void |
StringLength.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer buf,
int index) |
void |
Val.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index)
Append the
index th SQL element to the given buffer. |
void |
Concat.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index) |
void |
Param.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index) |
void |
SimpleCaseExpression.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer buf,
int index) |
void |
MapKey.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index) |
void |
Args.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index) |
void |
Args.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index,
String operator) |
void |
PCPath.appendType(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
Val.appendType(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql)
Append the SQL checking the type of this value.
|
void |
Trim.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
void |
MapEntry.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
void |
GeneralCaseExpression.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
void |
PCPath.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
void |
Math.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
void |
NullIfExpression.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
void |
CollectionParam.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
void |
CoalesceExpression.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
void |
IndexOf.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
void |
Lit.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
void |
SubQ.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
void |
Null.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
void |
TypeLit.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
void |
Substring.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
void |
Val.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState)
Calculate and cache the SQL for this value.
|
void |
Concat.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
void |
Param.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
void |
SimpleCaseExpression.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
void |
MapKey.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
void |
Args.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
Select |
SelectConstructor.evaluate(ExpContext ctx,
Select parent,
String alias,
QueryExpressions exps,
QueryExpressionsState state)
Evaluate the expression, returning a new select and filling in any
associated expression state.
|
Object |
CollectionParam.getSQLValue(Select sel,
ExpContext ctx,
ExpState state) |
Object |
Param.getSQLValue(Select sel,
ExpContext ctx,
ExpState state) |
Object |
CollectionParam.getValue(ExpContext ctx,
ExpState state) |
Object |
Param.getValue(ExpContext ctx,
ExpState state) |
ClassMapping |
Param.getValueMetaData(ExpContext ctx) |
void |
Trim.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
MapEntry.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
GeneralCaseExpression.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
PCPath.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
Math.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
NullIfExpression.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
CoalesceExpression.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
IndexOf.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
SubQ.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
Substring.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
Val.groupBy(Select sel,
ExpContext ctx,
ExpState state)
Group by this value.
|
void |
Concat.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
SimpleCaseExpression.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
MapKey.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
Args.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
ExpState |
Trim.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
MapEntry.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
GeneralCaseExpression.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
PCPath.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
Math.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
NullIfExpression.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
CollectionParam.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
CoalesceExpression.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
IndexOf.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
Lit.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
SubQ.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
TypeLit.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
Substring.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
Val.initialize(Select sel,
ExpContext ctx,
int flags)
Initialize the value.
|
ExpState |
Concat.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
Param.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
SimpleCaseExpression.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
MapKey.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
Args.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
WhenScalar.initialize(Select sel,
ExpContext ctx,
Map contains) |
ExpState |
WhenCondition.initialize(Select sel,
ExpContext ctx,
Map contains) |
int |
Trim.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
MapEntry.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
GeneralCaseExpression.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
PCPath.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
Math.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
NullIfExpression.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
CoalesceExpression.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
IndexOf.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
SubQ.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
Substring.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
Val.length(Select sel,
ExpContext ctx,
ExpState state)
Return the number of SQL elements in this value.
|
int |
Concat.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
Param.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
SimpleCaseExpression.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
MapKey.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
Args.length(Select sel,
ExpContext ctx,
ExpState state) |
Object |
Trim.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
MapEntry.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
GeneralCaseExpression.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
PCPath.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
Math.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
NullIfExpression.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
CoalesceExpression.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
IndexOf.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
SubQ.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
Substring.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
Val.load(ExpContext ctx,
ExpState state,
Result res)
Load the data for this value.
|
Object |
Concat.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
SimpleCaseExpression.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
MapKey.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
Args.load(ExpContext ctx,
ExpState state,
Result res) |
FilterValue[] |
Args.newFilterValues(Select sel,
ExpContext ctx,
ExpState state)
Return a filter value for each argument.
|
protected boolean |
NullableAggregateUnaryOp.nullableValue(ExpContext ctx,
ExpState state) |
void |
Trim.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
MapEntry.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
GeneralCaseExpression.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
PCPath.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
Math.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
NullIfExpression.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
CoalesceExpression.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
IndexOf.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
SubQ.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
Substring.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
Val.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc)
Order by this value.
|
void |
Concat.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
SimpleCaseExpression.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
MapKey.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
Args.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
SelectConstructor.select(Select sel,
ExpContext ctx,
ClassMapping mapping,
boolean subclasses,
QueryExpressions exps,
QueryExpressionsState state,
int eager)
Select the data for this query.
|
void |
Trim.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
MapEntry.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
GeneralCaseExpression.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
PCPath.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
Math.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
NullIfExpression.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
CoalesceExpression.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
IndexOf.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
SubQ.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
Substring.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
Val.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks)
Select the data for this value.
|
void |
Concat.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
SimpleCaseExpression.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
MapKey.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
Args.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
WhenScalar.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
Trim.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
MapEntry.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
GeneralCaseExpression.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
PCPath.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
Math.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
NullIfExpression.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
CoalesceExpression.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
IndexOf.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
SubQ.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
WhenCondition.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
Substring.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
Val.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks)
Select just the columns for this value.
|
void |
Concat.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
SimpleCaseExpression.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
MapKey.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
Args.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
Object |
PCPath.toDataStoreValue(Select sel,
ExpContext ctx,
ExpState state,
Object val) |
Object |
SubQ.toDataStoreValue(Select sel,
ExpContext ctx,
ExpState state,
Object val) |
Object |
Val.toDataStoreValue(Select sel,
ExpContext ctx,
ExpState state,
Object val)
Return the datastore value of the given object in the context of this
value.
|
Object |
MapKey.toDataStoreValue(Select sel,
ExpContext ctx,
ExpState state,
Object val) |
Modifier and Type | Method and Description |
---|---|
protected void |
DBDictionary.calculateValue(Val val,
Select sel,
ExpContext ctx,
ExpState state,
Path path,
ExpState pathState)
This method is to provide override for non-JDBC or JDBC-like
implementation of calculating value.
|
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.