Uses of Class
org.apache.openjpa.jdbc.kernel.exps.ExpContext
Package
Description
OpenJPA-JDBC Expression Tree
OpenJPA-JDBC SQL Abstraction
-
Uses of ExpContext in org.apache.openjpa.jdbc.kernel.exps
Modifier and TypeMethodDescriptionvoid
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
Args.appendIsEmpty
(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql) 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.appendIsNotEmpty
(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.appendIsNotNull
(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.appendIsNull
(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.appendSize
(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.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
CoalesceExpression.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
Concat.appendTo
(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index) void
DatastoreFunction.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
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
MapEntry.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
Math.appendTo
(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index) void
Null.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
Param.appendTo
(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index) void
PCPath.appendTo
(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql) void
PCPath.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
StringLength.appendTo
(Select sel, ExpContext ctx, ExpState state, SQLBuffer buf, int index) void
SubQ.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
ToLowerCase.appendTo
(Select sel, ExpContext ctx, ExpState state, SQLBuffer buf, int index) void
ToUpperCase.appendTo
(Select sel, ExpContext ctx, ExpState state, SQLBuffer buf, int index) void
Trim.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
Val.appendTo
(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index) Append theindex
th SQL element to the given buffer.void
WhenCondition.appendTo
(Select sel, ExpContext ctx, ExpState state, SQLBuffer buf) void
WhenScalar.appendTo
(Select sel, ExpContext ctx, ExpState state, SQLBuffer buf) 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
Args.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
CollectionParam.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
GeneralCaseExpression.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
MapEntry.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
Math.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
NullIfExpression.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
SimpleCaseExpression.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
Substring.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
TypeLit.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.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.CollectionParam.getSQLValue
(Select sel, ExpContext ctx, ExpState state) Param.getSQLValue
(Select sel, ExpContext ctx, ExpState state) CollectionParam.getValue
(ExpContext ctx, ExpState state) Param.getValue
(ExpContext ctx, ExpState state) Param.getValueMetaData
(ExpContext ctx) void
Args.groupBy
(Select sel, ExpContext ctx, ExpState state) void
CoalesceExpression.groupBy
(Select sel, ExpContext ctx, ExpState state) void
Concat.groupBy
(Select sel, ExpContext ctx, ExpState state) void
GeneralCaseExpression.groupBy
(Select sel, ExpContext ctx, ExpState state) void
IndexOf.groupBy
(Select sel, ExpContext ctx, ExpState state) void
MapEntry.groupBy
(Select sel, ExpContext ctx, ExpState state) void
MapKey.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
PCPath.groupBy
(Select sel, ExpContext ctx, ExpState state) void
SimpleCaseExpression.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
Trim.groupBy
(Select sel, ExpContext ctx, ExpState state) void
Val.groupBy
(Select sel, ExpContext ctx, ExpState state) Group by this value.Args.initialize
(Select sel, ExpContext ctx, int flags) CoalesceExpression.initialize
(Select sel, ExpContext ctx, int flags) CollectionParam.initialize
(Select sel, ExpContext ctx, int flags) Concat.initialize
(Select sel, ExpContext ctx, int flags) GeneralCaseExpression.initialize
(Select sel, ExpContext ctx, int flags) IndexOf.initialize
(Select sel, ExpContext ctx, int flags) Lit.initialize
(Select sel, ExpContext ctx, int flags) MapEntry.initialize
(Select sel, ExpContext ctx, int flags) MapKey.initialize
(Select sel, ExpContext ctx, int flags) Math.initialize
(Select sel, ExpContext ctx, int flags) NullIfExpression.initialize
(Select sel, ExpContext ctx, int flags) Param.initialize
(Select sel, ExpContext ctx, int flags) PCPath.initialize
(Select sel, ExpContext ctx, int flags) SimpleCaseExpression.initialize
(Select sel, ExpContext ctx, int flags) SubQ.initialize
(Select sel, ExpContext ctx, int flags) Substring.initialize
(Select sel, ExpContext ctx, int flags) Trim.initialize
(Select sel, ExpContext ctx, int flags) TypeLit.initialize
(Select sel, ExpContext ctx, int flags) Val.initialize
(Select sel, ExpContext ctx, int flags) Initialize the value.WhenCondition.initialize
(Select sel, ExpContext ctx, Map contains) WhenScalar.initialize
(Select sel, ExpContext ctx, Map contains) int
Args.length
(Select sel, ExpContext ctx, ExpState state) int
CoalesceExpression.length
(Select sel, ExpContext ctx, ExpState state) int
Concat.length
(Select sel, ExpContext ctx, ExpState state) int
GeneralCaseExpression.length
(Select sel, ExpContext ctx, ExpState state) int
IndexOf.length
(Select sel, ExpContext ctx, ExpState state) int
MapEntry.length
(Select sel, ExpContext ctx, ExpState state) int
MapKey.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
Param.length
(Select sel, ExpContext ctx, ExpState state) int
PCPath.length
(Select sel, ExpContext ctx, ExpState state) int
SimpleCaseExpression.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
Trim.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.Args.load
(ExpContext ctx, ExpState state, Result res) CoalesceExpression.load
(ExpContext ctx, ExpState state, Result res) Concat.load
(ExpContext ctx, ExpState state, Result res) GeneralCaseExpression.load
(ExpContext ctx, ExpState state, Result res) IndexOf.load
(ExpContext ctx, ExpState state, Result res) MapEntry.load
(ExpContext ctx, ExpState state, Result res) MapKey.load
(ExpContext ctx, ExpState state, Result res) Math.load
(ExpContext ctx, ExpState state, Result res) NullIfExpression.load
(ExpContext ctx, ExpState state, Result res) PCPath.load
(ExpContext ctx, ExpState state, Result res) SimpleCaseExpression.load
(ExpContext ctx, ExpState state, Result res) SubQ.load
(ExpContext ctx, ExpState state, Result res) Substring.load
(ExpContext ctx, ExpState state, Result res) Trim.load
(ExpContext ctx, ExpState state, Result res) Val.load
(ExpContext ctx, ExpState state, Result res) Load the data for this value.Args.newFilterValues
(Select sel, ExpContext ctx, ExpState state) Return a filter value for each argument.protected boolean
NullableAggregateUnaryOp.nullableValue
(ExpContext ctx, ExpState state) void
Args.orderBy
(Select sel, ExpContext ctx, ExpState state, boolean asc) void
CoalesceExpression.orderBy
(Select sel, ExpContext ctx, ExpState state, boolean asc) void
Concat.orderBy
(Select sel, ExpContext ctx, ExpState state, boolean asc) void
GeneralCaseExpression.orderBy
(Select sel, ExpContext ctx, ExpState state, boolean asc) void
IndexOf.orderBy
(Select sel, ExpContext ctx, ExpState state, boolean asc) void
MapEntry.orderBy
(Select sel, ExpContext ctx, ExpState state, boolean asc) void
MapKey.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
PCPath.orderBy
(Select sel, ExpContext ctx, ExpState state, boolean asc) void
SimpleCaseExpression.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
Trim.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
Args.select
(Select sel, ExpContext ctx, ExpState state, boolean pks) void
CoalesceExpression.select
(Select sel, ExpContext ctx, ExpState state, boolean pks) void
Concat.select
(Select sel, ExpContext ctx, ExpState state, boolean pks) void
GeneralCaseExpression.select
(Select sel, ExpContext ctx, ExpState state, boolean pks) void
IndexOf.select
(Select sel, ExpContext ctx, ExpState state, boolean pks) void
MapEntry.select
(Select sel, ExpContext ctx, ExpState state, boolean pks) void
MapKey.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
PCPath.select
(Select sel, ExpContext ctx, ExpState state, boolean pks) void
SelectConstructor.select
(Select sel, ExpContext ctx, ClassMapping mapping, boolean subclasses, QueryExpressions exps, QueryExpressionsState state, int eager) Select the data for this query.void
SimpleCaseExpression.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
Trim.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
Args.selectColumns
(Select sel, ExpContext ctx, ExpState state, boolean pks) void
CoalesceExpression.selectColumns
(Select sel, ExpContext ctx, ExpState state, boolean pks) void
Concat.selectColumns
(Select sel, ExpContext ctx, ExpState state, boolean pks) void
GeneralCaseExpression.selectColumns
(Select sel, ExpContext ctx, ExpState state, boolean pks) void
IndexOf.selectColumns
(Select sel, ExpContext ctx, ExpState state, boolean pks) void
MapEntry.selectColumns
(Select sel, ExpContext ctx, ExpState state, boolean pks) void
MapKey.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
PCPath.selectColumns
(Select sel, ExpContext ctx, ExpState state, boolean pks) void
SimpleCaseExpression.selectColumns
(Select sel, ExpContext ctx, ExpState state, boolean pks) void
SubQ.selectColumns
(Select sel, ExpContext ctx, ExpState state, boolean pks) void
Substring.selectColumns
(Select sel, ExpContext ctx, ExpState state, boolean pks) void
Trim.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
WhenCondition.selectColumns
(Select sel, ExpContext ctx, ExpState state, boolean pks) void
WhenScalar.selectColumns
(Select sel, ExpContext ctx, ExpState state, boolean pks) MapKey.toDataStoreValue
(Select sel, ExpContext ctx, ExpState state, Object val) PCPath.toDataStoreValue
(Select sel, ExpContext ctx, ExpState state, Object val) SubQ.toDataStoreValue
(Select sel, ExpContext ctx, ExpState state, Object val) Val.toDataStoreValue
(Select sel, ExpContext ctx, ExpState state, Object val) Return the datastore value of the given object in the context of this value. -
Uses of ExpContext in org.apache.openjpa.jdbc.sql
Modifier and TypeMethodDescriptionprotected 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.