Package | Description |
---|---|
org.apache.openjpa.jdbc.kernel.exps |
OpenJPA-JDBC Expression Tree
|
org.apache.openjpa.jdbc.sql |
OpenJPA-JDBC SQL Abstraction
|
Modifier and Type | Class and Description |
---|---|
static class |
CollectionParam.ParamExpState
Expression state.
|
protected static class |
Const.ConstExpState
Constant expression state.
|
static class |
MapEntry.EntryExpState
Expression state.
|
static class |
MapKey.KeyExpState
Expression state.
|
static class |
Param.ParamExpState
Expression state.
|
static class |
PCPath.PathExpState
Expression state.
|
Modifier and Type | Field and Description |
---|---|
static ExpState[] |
QueryExpressionsState.EMPTY_STATES |
ExpState |
QueryExpressionsState.filter |
ExpState[] |
QueryExpressionsState.grouping |
ExpState |
QueryExpressionsState.having |
ExpState |
MapKey.KeyExpState.key |
ExpState |
MapEntry.EntryExpState.key |
static ExpState |
ExpState.NULL
State with no joins.
|
ExpState[] |
QueryExpressionsState.ordering |
ExpState[] |
QueryExpressionsState.projections |
ExpState |
MapKey.KeyExpState.val |
ExpState |
MapEntry.EntryExpState.val |
Modifier and Type | Method and Description |
---|---|
ExpState |
SimpleCaseExpression.getOtherState() |
ExpState |
NullIfExpression.getOtherState() |
ExpState |
GeneralCaseExpression.getOtherState() |
ExpState |
CoalesceExpression.getOtherState() |
ExpState |
Val.initialize(Select sel,
ExpContext ctx,
int flags)
Initialize the value.
|
ExpState |
TypeLit.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
Trim.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
Substring.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
SubQ.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
SimpleCaseExpression.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
Param.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
PCPath.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
NullIfExpression.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
Math.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
MapKey.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
MapEntry.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
Lit.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
IndexOf.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
GeneralCaseExpression.initialize(Select sel,
ExpContext ctx,
int flags) |
ExpState |
Concat.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 |
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) |
Modifier and Type | Method and Description |
---|---|
void |
Val.appendIndex(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql)
Append the SQL checking the index of this value.
|
void |
PCPath.appendIndex(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 |
SubQ.appendIsEmpty(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
PCPath.appendIsEmpty(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
Args.appendIsEmpty(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 |
SubQ.appendIsNotEmpty(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
PCPath.appendIsNotEmpty(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
Args.appendIsNotEmpty(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 |
PCPath.appendIsNotNull(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
Args.appendIsNotNull(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 |
PCPath.appendIsNull(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
Args.appendIsNull(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 |
SubQ.appendSize(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
PCPath.appendSize(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
Args.appendSize(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
WhenScalar.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer buf) |
void |
WhenCondition.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer buf) |
void |
PCPath.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
Val.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index)
Append the
index th SQL element to the given buffer. |
void |
TypeLit.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index) |
void |
Trim.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 |
ToLowerCase.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer buf,
int index) |
void |
Substring.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 |
StringLength.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer buf,
int index) |
void |
SimpleCaseExpression.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer buf,
int index) |
void |
Param.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index) |
void |
PCPath.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 |
Null.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 |
MapKey.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 |
Lit.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index) |
void |
IndexOf.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 |
DatastoreFunction.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
int index) |
void |
Concat.appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql,
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 |
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.appendTo(Select sel,
ExpState state,
SQLBuffer sql,
Column col) |
void |
Val.appendType(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql)
Append the SQL checking the type of this value.
|
void |
PCPath.appendType(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer sql) |
void |
Val.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState)
Calculate and cache the SQL for this value.
|
void |
TypeLit.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
void |
Trim.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 |
SubQ.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 |
Param.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 |
NullIfExpression.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 |
Math.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 |
MapEntry.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 |
IndexOf.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 |
Concat.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 |
Args.calculateValue(Select sel,
ExpContext ctx,
ExpState state,
Val other,
ExpState otherState) |
ClassMapping |
PCPath.getClassMapping(ExpState state) |
Column[] |
PCPath.getColumns(ExpState state) |
FieldMapping |
PCPath.getFieldMapping(ExpState state) |
Object |
Param.getSQLValue(Select sel,
ExpContext ctx,
ExpState state) |
Object |
CollectionParam.getSQLValue(Select sel,
ExpContext ctx,
ExpState state) |
Object |
Param.getValue(ExpContext ctx,
ExpState state) |
Object |
CollectionParam.getValue(ExpContext ctx,
ExpState state) |
void |
Val.groupBy(Select sel,
ExpContext ctx,
ExpState state)
Group by this value.
|
void |
Trim.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
Substring.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
SubQ.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
SimpleCaseExpression.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
PCPath.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
NullIfExpression.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
Math.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
MapKey.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
MapEntry.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
IndexOf.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
GeneralCaseExpression.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
Concat.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
CoalesceExpression.groupBy(Select sel,
ExpContext ctx,
ExpState state) |
void |
Args.groupBy(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 |
Trim.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
Substring.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
SubQ.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
SimpleCaseExpression.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
Param.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
PCPath.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
NullIfExpression.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
Math.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
MapKey.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
MapEntry.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
IndexOf.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
GeneralCaseExpression.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
Concat.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
CoalesceExpression.length(Select sel,
ExpContext ctx,
ExpState state) |
int |
Args.length(Select sel,
ExpContext ctx,
ExpState state) |
Object |
Val.load(ExpContext ctx,
ExpState state,
Result res)
Load the data for this value.
|
Object |
Trim.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
Substring.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
SubQ.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
SimpleCaseExpression.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
PCPath.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
NullIfExpression.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
Math.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
MapKey.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
MapEntry.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
IndexOf.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
GeneralCaseExpression.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
Concat.load(ExpContext ctx,
ExpState state,
Result res) |
Object |
CoalesceExpression.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 |
Val.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc)
Order by this value.
|
void |
Trim.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
Substring.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
SubQ.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
SimpleCaseExpression.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
PCPath.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
NullIfExpression.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
Math.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
MapKey.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
MapEntry.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
IndexOf.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
GeneralCaseExpression.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
Concat.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
CoalesceExpression.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
Args.orderBy(Select sel,
ExpContext ctx,
ExpState state,
boolean asc) |
void |
Val.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks)
Select the data for this value.
|
void |
Trim.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
Substring.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
SubQ.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
SimpleCaseExpression.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
PCPath.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
NullIfExpression.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
Math.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
MapKey.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
MapEntry.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
IndexOf.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
GeneralCaseExpression.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
Concat.select(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
CoalesceExpression.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 |
WhenCondition.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 |
Trim.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
Substring.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
SubQ.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
SimpleCaseExpression.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
PCPath.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
NullIfExpression.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
Math.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
MapKey.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
MapEntry.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
IndexOf.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
GeneralCaseExpression.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
Concat.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
CoalesceExpression.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
Args.selectColumns(Select sel,
ExpContext ctx,
ExpState state,
boolean pks) |
void |
SimpleCaseExpression.setOtherState(ExpState otherState) |
void |
NullIfExpression.setOtherState(ExpState otherState) |
void |
GeneralCaseExpression.setOtherState(ExpState otherState) |
void |
CoalesceExpression.setOtherState(ExpState otherState) |
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 |
SubQ.toDataStoreValue(Select sel,
ExpContext ctx,
ExpState state,
Object val) |
Object |
PCPath.toDataStoreValue(Select sel,
ExpContext ctx,
ExpState state,
Object val) |
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–2017 Apache Software Foundation. All rights reserved.