Uses of Interface
org.apache.openjpa.jdbc.sql.Select

Packages that use Select
org.apache.openjpa.jdbc.kernel OpenJPA-JDBC Runtime Kernel 
org.apache.openjpa.jdbc.kernel.exps OpenJPA-JDBC Expression Tree 
org.apache.openjpa.jdbc.meta OpenJPA-JDBC ORM Metadata 
org.apache.openjpa.jdbc.meta.strats OpenJPA-JDBC ORM Strategies 
org.apache.openjpa.jdbc.sql OpenJPA-JDBC SQL Abstraction 
 

Uses of Select in org.apache.openjpa.jdbc.kernel
 

Methods in org.apache.openjpa.jdbc.kernel that return Select
static Select JDBCStoreQuery.getThreadLocalSelect(Select select)
           
 

Methods in org.apache.openjpa.jdbc.kernel with parameters of type Select
static BitSet PagingResultObjectProvider.getPagedFields(Select sel, ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, long size)
          Return a bit set representing batch select fields that will be paged, or null if no fields need paging, which indicates that this provider should not be used.
static Select JDBCStoreQuery.getThreadLocalSelect(Select select)
           
 boolean JDBCStoreManager.select(Select sel, ClassMapping mapping, int subs, OpenJPAStateManager sm, BitSet fields, JDBCFetchConfiguration fetch, int eager, boolean ident, boolean outer)
          For implementation use only.
 boolean PessimisticLockManager.selectForUpdate(Select sel, int lockLevel)
           
 boolean MixedLockManager.selectForUpdate(Select sel, int lockLevel)
           
 boolean JDBCLockManager.selectForUpdate(Select sel, int lockLevel)
          Return whether to issue the given select FOR UPDATE, depending on the capabilities of the dictionary and the fetch configuration.
 

Uses of Select in org.apache.openjpa.jdbc.kernel.exps
 

Methods in org.apache.openjpa.jdbc.kernel.exps that return Select
 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.
 

Methods in org.apache.openjpa.jdbc.kernel.exps with parameters of type Select
 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 indexth 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 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)
           
 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 Param.getSQLValue(Select sel, ExpContext ctx, ExpState state)
           
 Object CollectionParam.getSQLValue(Select sel, 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)
           
 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)
           
 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)
           
 FilterValue[] Args.newFilterValues(Select sel, ExpContext ctx, ExpState state)
          Return a filter value for each argument.
 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 SelectConstructor.select(Select sel, ExpContext ctx, ClassMapping mapping, boolean subclasses, QueryExpressions exps, QueryExpressionsState state, int eager)
          Select the data for this query.
 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 SelectConstructor.setSubselect(Select subselect)
           
 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)
           
 

Uses of Select in org.apache.openjpa.jdbc.meta
 

Methods in org.apache.openjpa.jdbc.meta with parameters of type Select
 boolean Discriminator.addClassConditions(Select sel, boolean subs, Joins joins)
          Add WHERE conditions to the given select limiting the returned results to our mapping type, possibly including subclasses.
 void FieldStrategy.appendIndex(SQLBuffer sql, Select sel, Joins joins)
          Append the ordered column alias to the given statement.
 void FieldMapping.appendIndex(SQLBuffer sql, Select sel, Joins joins)
           
 void FieldStrategy.appendIsEmpty(SQLBuffer sql, Select sel, Joins joins)
          Append a where clause to the given statement checking if this value is empty.
 void FieldMapping.appendIsEmpty(SQLBuffer sql, Select sel, Joins joins)
           
 void FieldStrategy.appendIsNotEmpty(SQLBuffer sql, Select sel, Joins joins)
          Append a where clause to the given statement checking if this value is not empty.
 void FieldMapping.appendIsNotEmpty(SQLBuffer sql, Select sel, Joins joins)
           
 void FieldStrategy.appendIsNotNull(SQLBuffer sql, Select sel, Joins joins)
          Append a where clause to the given statement checking if this value is not null.
 void FieldMapping.appendIsNotNull(SQLBuffer sql, Select sel, Joins joins)
           
 void FieldStrategy.appendIsNull(SQLBuffer sql, Select sel, Joins joins)
          Append a where clause to the given statement checking if this value is null.
 void FieldMapping.appendIsNull(SQLBuffer sql, Select sel, Joins joins)
           
 void FieldStrategy.appendSize(SQLBuffer sql, Select sel, Joins joins)
          Append a where clause to the given statement checking the size of the value.
 void FieldMapping.appendSize(SQLBuffer sql, Select sel, Joins joins)
           
 void FieldStrategy.appendType(SQLBuffer sql, Select sel, Joins joins)
          Append the entity discriminator value to the given statement.
 void FieldMapping.appendType(SQLBuffer sql, Select sel, Joins joins)
           
 SQLBuffer DiscriminatorStrategy.getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subs)
          Return SQL to limit the classes selected as much as possible to the given base class, and optionally its subclasses.
 SQLBuffer Discriminator.getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subs)
           
 Joins FieldMapping.join(Select sel)
          Return any joins needed to get from the primary table to this table.
 void FieldMapping.orderLocal(Select sel, ClassMapping elem, Joins joins)
          Add ordering to the given select for all non-relation order values, including the synthetic order column, if any.
 void FieldMapping.orderRelation(Select sel, ClassMapping elem, Joins joins)
          Add ordering to the given select for all relation-based values.
 boolean VersionStrategy.select(Select sel, ClassMapping mapping)
          Select the data for this indicator.
 boolean Version.select(Select sel, ClassMapping mapping)
           
 boolean DiscriminatorStrategy.select(Select sel, ClassMapping mapping)
          Select the data for this Discriminator.
 boolean Discriminator.select(Select sel, ClassMapping mapping)
           
 int FieldStrategy.select(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)
          Select the virtual row columns of this mapping.
 int FieldMapping.select(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)
           
 void FieldStrategy.selectEagerJoin(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)
          Fill in joined select to related objects.
 void FieldMapping.selectEagerJoin(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)
           
 boolean ClassStrategy.supportsEagerSelect(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch)
          Return true if this strategy can perform the given select from the given base mapping.
 boolean ClassMapping.supportsEagerSelect(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch)
           
 int FieldStrategy.supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)
          Return whether this mapping can perform the given select type.
 int FieldMapping.supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)
           
 void FieldMapping.wherePrimaryKey(Select sel, OpenJPAStateManager sm, JDBCStore store)
          Add a wherePrimaryKey or whereForeignKey condition to the given select, depending on whether we have a join foreign key.
 

Uses of Select in org.apache.openjpa.jdbc.meta.strats
 

Methods in org.apache.openjpa.jdbc.meta.strats with parameters of type Select
 void ContainerFieldStrategy.appendIndex(SQLBuffer sql, Select sel, Joins joins)
           
 void AbstractFieldStrategy.appendIndex(SQLBuffer sql, Select sel, Joins joins)
           
 void ContainerFieldStrategy.appendIsEmpty(SQLBuffer sql, Select sel, Joins joins)
           
 void AbstractFieldStrategy.appendIsEmpty(SQLBuffer sql, Select sel, Joins joins)
           
 void ContainerFieldStrategy.appendIsNotEmpty(SQLBuffer sql, Select sel, Joins joins)
           
 void AbstractFieldStrategy.appendIsNotEmpty(SQLBuffer sql, Select sel, Joins joins)
           
 void StringFieldStrategy.appendIsNotNull(SQLBuffer sql, Select sel, Joins joins)
           
 void RelationFieldStrategy.appendIsNotNull(SQLBuffer sql, Select sel, Joins joins)
           
 void PrimitiveFieldStrategy.appendIsNotNull(SQLBuffer sql, Select sel, Joins joins)
           
 void HandlerFieldStrategy.appendIsNotNull(SQLBuffer sql, Select sel, Joins joins)
           
 void EmbedFieldStrategy.appendIsNotNull(SQLBuffer sql, Select sel, Joins joins)
           
 void ContainerFieldStrategy.appendIsNotNull(SQLBuffer sql, Select sel, Joins joins)
           
 void AbstractFieldStrategy.appendIsNotNull(SQLBuffer sql, Select sel, Joins joins)
           
 void StringFieldStrategy.appendIsNull(SQLBuffer sql, Select sel, Joins joins)
           
 void RelationFieldStrategy.appendIsNull(SQLBuffer sql, Select sel, Joins joins)
           
 void PrimitiveFieldStrategy.appendIsNull(SQLBuffer sql, Select sel, Joins joins)
           
 void HandlerFieldStrategy.appendIsNull(SQLBuffer sql, Select sel, Joins joins)
           
 void EmbedFieldStrategy.appendIsNull(SQLBuffer sql, Select sel, Joins joins)
           
 void ContainerFieldStrategy.appendIsNull(SQLBuffer sql, Select sel, Joins joins)
           
 void AbstractFieldStrategy.appendIsNull(SQLBuffer sql, Select sel, Joins joins)
           
protected static void ContainerFieldStrategy.appendJoinCount(SQLBuffer sql, Select sel, Joins joins, DBDictionary dict, FieldMapping field, ForeignKey fk)
           
 void ContainerFieldStrategy.appendSize(SQLBuffer sql, Select sel, Joins joins)
           
 void AbstractFieldStrategy.appendSize(SQLBuffer sql, Select sel, Joins joins)
           
 void AbstractFieldStrategy.appendType(SQLBuffer sql, Select sel, Joins joins)
           
static void ContainerFieldStrategy.appendUnaliasedJoin(SQLBuffer sql, Select sel, Joins joins, DBDictionary dict, FieldMapping field, ForeignKey fk)
           
 SQLBuffer SuperclassDiscriminatorStrategy.getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subclasses)
           
 SQLBuffer SubclassJoinDiscriminatorStrategy.getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subclasses)
           
 SQLBuffer InValueDiscriminatorStrategy.getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subclasses)
           
 SQLBuffer AbstractDiscriminatorStrategy.getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subs)
           
 boolean SubclassJoinDiscriminatorStrategy.select(Select sel, ClassMapping mapping)
           
 boolean InValueDiscriminatorStrategy.select(Select sel, ClassMapping mapping)
           
 boolean ColumnVersionStrategy.select(Select sel, ClassMapping mapping)
           
 boolean AbstractVersionStrategy.select(Select sel, ClassMapping mapping)
           
 boolean AbstractDiscriminatorStrategy.select(Select sel, ClassMapping mapping)
           
 int StringFieldStrategy.select(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)
           
 int RelationFieldStrategy.select(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)
           
 int PrimitiveFieldStrategy.select(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)
           
 int LobFieldStrategy.select(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)
           
 int HandlerFieldStrategy.select(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)
           
 int EmbedFieldStrategy.select(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)
           
 int AbstractFieldStrategy.select(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)
           
protected  Joins StoreCollectionFieldStrategy.selectAll(Select sel, ClassMapping elem, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)
          Select data for loading, starting in field table.
 void StoreCollectionFieldStrategy.selectEagerJoin(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)
           
 void RelationFieldStrategy.selectEagerJoin(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)
           
 void AbstractFieldStrategy.selectEagerJoin(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)
           
protected abstract  void StoreCollectionFieldStrategy.selectElement(Select sel, ClassMapping elem, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins joins)
          Implement this method to select the elements of this field for the given element mapping from ContainerFieldStrategy.getIndependentElementMappings(boolean) (or null).
protected  void RelationToManyTableFieldStrategy.selectElement(Select sel, ClassMapping elem, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins joins)
           
protected  void RelationToManyInverseKeyFieldStrategy.selectElement(Select sel, ClassMapping elem, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins joins)
           
 void RelationCollectionTableFieldStrategy.selectElement(Select sel, ClassMapping elem, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins joins)
           
 void RelationCollectionInverseKeyFieldStrategy.selectElement(Select sel, ClassMapping elem, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins joins)
           
 void LRSCollectionFieldStrategy.selectElement(Select sel, ClassMapping elem, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins joins)
          Implement this method to select the elements of this field for the given element mapping from LRSCollectionFieldStrategy.getIndependentElementMappings(boolean) (or null).
 void HandlerCollectionTableFieldStrategy.selectElement(Select sel, ClassMapping elem, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins joins)
           
 void RelationRelationMapTableFieldStrategy.selectKey(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
           
 void RelationMapTableFieldStrategy.selectKey(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
           
 void RelationMapInverseKeyFieldStrategy.selectKey(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
           
 void RelationHandlerMapTableFieldStrategy.selectKey(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
           
 void LRSMapFieldStrategy.selectKey(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
          Implement this method to select the keys of this field.
 void HandlerRelationMapTableFieldStrategy.selectKey(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
           
 void HandlerHandlerMapTableFieldStrategy.selectKey(Select sel, ClassMapping cls, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
           
 void RelationRelationMapTableFieldStrategy.selectValue(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
           
 void RelationMapTableFieldStrategy.selectValue(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
           
 void RelationMapInverseKeyFieldStrategy.selectValue(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
           
 void RelationHandlerMapTableFieldStrategy.selectValue(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
           
 void LRSMapFieldStrategy.selectValue(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
          Implement this method to select the values of this field.
 void HandlerRelationMapTableFieldStrategy.selectValue(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
           
 void HandlerHandlerMapTableFieldStrategy.selectValue(Select sel, ClassMapping cls, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
           
 boolean VerticalClassStrategy.supportsEagerSelect(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch)
           
 boolean FullClassStrategy.supportsEagerSelect(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch)
           
 boolean AbstractClassStrategy.supportsEagerSelect(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch)
           
 int StringFieldStrategy.supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)
           
 int StoreCollectionFieldStrategy.supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)
           
 int RelationFieldStrategy.supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)
           
 int PrimitiveFieldStrategy.supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)
           
 int MapTableFieldStrategy.supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)
           
 int LobFieldStrategy.supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)
           
 int HandlerFieldStrategy.supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)
           
 int HandlerCollectionTableFieldStrategy.supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)
           
 int EmbedFieldStrategy.supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)
           
 int AbstractFieldStrategy.supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)
           
 

Uses of Select in org.apache.openjpa.jdbc.sql
 

Classes in org.apache.openjpa.jdbc.sql that implement Select
 class LogicalUnion.UnionSelect
          A select that is part of a logical union.
 class SelectImpl
          Standard Select implementation.
 

Methods in org.apache.openjpa.jdbc.sql that return Select
 Select SelectImpl.getFromSelect()
           
 Select Select.getFromSelect()
          Another select instance that creates a temporary table from which this select pulls data.
 Select LogicalUnion.UnionSelect.getFromSelect()
           
 Select SelectImpl.getParent()
           
 Select Select.getParent()
          Return the parent of this select, if it is a subselect.
 Select LogicalUnion.UnionSelect.getParent()
           
 Select SelectImpl.getSelect()
           
 Select[] Union.getSelects()
          Return the selects that make up this union.
 Select[] LogicalUnion.getSelects()
           
 Select SQLFactoryImpl.newSelect()
           
 Select SQLFactory.newSelect()
          Select factory.
 

Methods in org.apache.openjpa.jdbc.sql with parameters of type Select
 SQLBuffer SQLBuffer.append(Select sel, JDBCFetchConfiguration fetch)
          Append a subselect.
 SQLBuffer SQLBuffer.appendCount(Select sel, JDBCFetchConfiguration fetch)
          Append a subselect count.
protected  void DBDictionary.appendSelect(SQLBuffer selectSQL, Object elem, Select sel, int idx)
          Append elem to selectSQL.
protected  void DB2Dictionary.appendSelect(SQLBuffer selectSQL, Object alias, Select sel, int idx)
           
protected  void DBDictionary.appendUpdates(Select sel, JDBCStore store, SQLBuffer sql, Object[] params, Map updateParams, boolean allowAlias)
           
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.
 void PostgresDictionary.deleteStream(JDBCStore store, Select sel)
           
 void DBDictionary.deleteStream(JDBCStore store, Select sel)
           
protected  SQLBuffer DBDictionary.getDeleteTargets(Select sel)
           
protected  String DBDictionary.getForUpdateClause(JDBCFetchConfiguration fetch, boolean isForUpdate, Select sel)
          Get the update clause for the query based on the updateClause and isolationLevel hints
protected  String DB2Dictionary.getForUpdateClause(JDBCFetchConfiguration fetch, boolean isForUpdate, Select sel)
          Get the update clause for the query based on the updateClause and isolationLevel hints
protected  SQLBuffer DBDictionary.getFrom(Select sel, boolean forUpdate)
          Return the portion of the select statement between the FROM keyword and the WHERE keyword.
protected  SQLBuffer DBDictionary.getFromSelect(Select sel, boolean forUpdate)
          Return the FROM clause for a select that selects from a tmp table created by an inner select.
protected  String DB2Dictionary.getOptimizeClause(Select sel)
           
protected  SQLBuffer OracleDictionary.getSelects(Select sel, boolean distinctIdentifiers, boolean forUpdate)
           
protected  SQLBuffer DBDictionary.getSelects(Select sel, boolean distinctIdentifiers, boolean forUpdate)
          Return the portion of the select statement between the SELECT keyword and the FROM keyword.
protected  Collection<String> MySQLDictionary.getSelectTableAliases(Select sel)
           
protected  Collection<String> DBDictionary.getSelectTableAliases(Select sel)
           
protected  SQLBuffer DBDictionary.getWhere(Select sel, boolean forUpdate)
          Return the WHERE portion of the select statement, or null if no where conditions.
 void PostgresDictionary.insertBlobForStreamingLoad(Row row, Column col, JDBCStore store, Object ob, Select sel)
           
 void OracleDictionary.insertBlobForStreamingLoad(Row row, Column col, JDBCStore store, Object ob, Select sel)
           
 void DBDictionary.insertBlobForStreamingLoad(Row row, Column col, JDBCStore store, Object ob, Select sel)
           
 Union SQLFactoryImpl.newUnion(Select[] selects)
           
 Union SQLFactory.newUnion(Select[] selects)
          Union factory.
 boolean SQLBuffer.replace(Select old, Select sel)
          Replace a subselect.
 void Union.Selector.select(Select sel, int i)
          Populate the ith select in the union.
 void LogicalUnion.Selector.select(Select sel, int i)
          Populate the ith select in the union.
 void SelectImpl.setFromSelect(Select sel)
           
 void Select.setFromSelect(Select sel)
          Another select instance that creates a temporary table from which this select pulls data.
 void LogicalUnion.UnionSelect.setFromSelect(Select sel)
           
 void SelectImpl.setParent(Select parent, String path)
           
 void Select.setParent(Select parent, String path)
          Turn this select into a subselect of the given instance.
 void LogicalUnion.UnionSelect.setParent(Select parent, String path)
           
 boolean OracleDictionary.supportsLocking(Select sel)
           
 boolean DBDictionary.supportsLocking(Select sel)
          Returns true if a "FOR UPDATE" clause can be used for the specified Select object.
 boolean InformixDictionary.supportsRandomAccessResultSet(Select sel, boolean forUpdate)
           
 boolean DBDictionary.supportsRandomAccessResultSet(Select sel, boolean forUpdate)
          Return false if the given select requires a forward-only result set.
 boolean DB2Dictionary.supportsRandomAccessResultSet(Select sel, boolean forUpdate)
           
protected  SQLBuffer DBDictionary.toBulkOperation(ClassMapping mapping, Select sel, JDBCStore store, Object[] params, Map updateParams)
          Returns the SQL for a bulk operation, either a DELETE or an UPDATE.
 SQLBuffer DBDictionary.toDelete(ClassMapping mapping, Select sel, Object[] params)
          Create a DELETE statement for the specified Select.
 SQLBuffer DBDictionary.toSelect(Select sel, boolean forUpdate, JDBCFetchConfiguration fetch)
          Create a SELECT statement in the proper join syntax for the given instance.
protected  SQLBuffer OracleDictionary.toSelect(SQLBuffer select, JDBCFetchConfiguration fetch, SQLBuffer tables, SQLBuffer where, SQLBuffer group, SQLBuffer having, SQLBuffer order, boolean distinct, boolean forUpdate, long start, long end, boolean subselect, Select sel)
           
protected  SQLBuffer DBDictionary.toSelect(SQLBuffer selects, JDBCFetchConfiguration fetch, SQLBuffer from, SQLBuffer where, SQLBuffer group, SQLBuffer having, SQLBuffer order, boolean distinct, boolean forUpdate, long start, long end, boolean subselect, Select sel)
          Combine the given components into a SELECT statement.
protected  SQLBuffer OracleDictionary.toSelect(SQLBuffer select, JDBCFetchConfiguration fetch, SQLBuffer tables, SQLBuffer where, SQLBuffer group, SQLBuffer having, SQLBuffer order, boolean distinct, boolean forUpdate, long start, long end, Select sel)
           
protected  SQLBuffer DBDictionary.toSelect(SQLBuffer selects, JDBCFetchConfiguration fetch, SQLBuffer from, SQLBuffer where, SQLBuffer group, SQLBuffer having, SQLBuffer order, boolean distinct, boolean forUpdate, long start, long end, Select sel)
          Combine the given components into a SELECT statement.
 SQLBuffer DBDictionary.toSelectCount(Select sel)
          Create a SELECT COUNT statement in the proper join syntax for the given instance.
 SQLBuffer DBDictionary.toSQL92Join(Select sel, Join join, boolean forUpdate, boolean first)
          Use the given join instance to create SQL joining its tables in the SQL92 style.
 SQLBuffer DBDictionary.toUpdate(ClassMapping mapping, Select sel, JDBCStore store, Object[] params, Map updates)
           
 void PostgresDictionary.updateBlob(Select sel, JDBCStore store, InputStream is)
           
 void DBDictionary.updateBlob(Select sel, JDBCStore store, InputStream is)
           
 void DBDictionary.updateClob(Select sel, JDBCStore store, Reader reader)
           
 

Constructors in org.apache.openjpa.jdbc.sql with parameters of type Select
LogicalUnion(JDBCConfiguration conf, int sels, Select[] seeds)
          Delegate constructor.
LogicalUnion(JDBCConfiguration conf, Select[] seeds)
          Constructor used to seed the internal selects.
 



Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.