Uses of Interface
org.apache.openjpa.jdbc.sql.Select
-
Packages that use Select Package Description org.apache.openjpa.jdbc.kernel OpenJPA-JDBC Runtime Kernelorg.apache.openjpa.jdbc.kernel.exps OpenJPA-JDBC Expression Treeorg.apache.openjpa.jdbc.meta OpenJPA-JDBC ORM Metadataorg.apache.openjpa.jdbc.meta.strats OpenJPA-JDBC ORM Strategiesorg.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 Modifier and Type Method Description static SelectJDBCStoreQuery. getThreadLocalSelect(Select select)Methods in org.apache.openjpa.jdbc.kernel with parameters of type Select Modifier and Type Method Description static java.util.BitSetPagingResultObjectProvider. 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 SelectJDBCStoreQuery. getThreadLocalSelect(Select select)booleanJDBCStoreManager. select(Select sel, ClassMapping mapping, int subs, OpenJPAStateManager sm, java.util.BitSet fields, JDBCFetchConfiguration fetch, int eager, boolean ident, boolean outer)For implementation use only.booleanJDBCLockManager. 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.booleanMixedLockManager. selectForUpdate(Select sel, int lockLevel)booleanPessimisticLockManager. selectForUpdate(Select sel, int lockLevel) -
Uses of Select in org.apache.openjpa.jdbc.kernel.exps
Methods in org.apache.openjpa.jdbc.kernel.exps that return Select Modifier and Type Method Description SelectSelectConstructor. evaluate(ExpContext ctx, Select parent, java.lang.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 Modifier and Type Method Description voidPCPath. appendIndex(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)voidVal. appendIndex(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)Append the SQL checking the index of this value.voidArgs. appendIsEmpty(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)voidPCPath. appendIsEmpty(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)voidSubQ. appendIsEmpty(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)voidVal. appendIsEmpty(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)Append the SQL testing whether this value is empty to the given buffer.voidArgs. appendIsNotEmpty(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)voidPCPath. appendIsNotEmpty(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)voidSubQ. appendIsNotEmpty(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)voidVal. appendIsNotEmpty(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)Append the SQL testing whether this value is not empty to the given buffer.voidArgs. appendIsNotNull(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)voidPCPath. appendIsNotNull(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)voidVal. appendIsNotNull(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)Append the SQL testing whether this value is not null to the given buffer.voidArgs. appendIsNull(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)voidPCPath. appendIsNull(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)voidVal. appendIsNull(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)Append the SQL testing whether this value is null to the given buffer.voidArgs. appendSize(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)voidPCPath. appendSize(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)voidSubQ. appendSize(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)voidVal. appendSize(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)Append the SQL checking the size of this value.voidArgs. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index)voidArgs. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index, java.lang.String operator)voidCoalesceExpression. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer buf, int index)voidCollectionParam. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index)voidConcat. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index)voidDatastoreFunction. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index)voidGeneralCaseExpression. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer buf, int index)voidIndexOf. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index)voidLit. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index)voidMapEntry. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index)voidMapKey. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index)voidMath. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index)voidNull. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index)voidNullIfExpression. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer buf, int index)voidParam. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index)voidPCPath. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)voidPCPath. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index)voidPCPath. appendTo(Select sel, ExpState state, SQLBuffer sql, Column col)voidSimpleCaseExpression. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer buf, int index)voidStringLength. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer buf, int index)voidSubQ. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index)voidSubstring. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index)voidToLowerCase. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer buf, int index)voidToUpperCase. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer buf, int index)voidTrim. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index)voidTypeLit. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index)voidVal. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index)Append theindexth SQL element to the given buffer.voidWhenCondition. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer buf)voidWhenScalar. appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer buf)voidPCPath. appendType(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)voidVal. appendType(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql)Append the SQL checking the type of this value.voidArgs. calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)voidCoalesceExpression. calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)voidCollectionParam. calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)voidConcat. calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)voidGeneralCaseExpression. calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)voidIndexOf. calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)voidLit. calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)voidMapEntry. calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)voidMapKey. calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)voidMath. calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)voidNull. calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)voidNullIfExpression. calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)voidParam. calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)voidPCPath. calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)voidSimpleCaseExpression. calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)voidSubQ. calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)voidSubstring. calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)voidTrim. calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)voidTypeLit. calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)voidVal. calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)Calculate and cache the SQL for this value.SelectSelectConstructor. evaluate(ExpContext ctx, Select parent, java.lang.String alias, QueryExpressions exps, QueryExpressionsState state)Evaluate the expression, returning a new select and filling in any associated expression state.java.lang.ObjectCollectionParam. getSQLValue(Select sel, ExpContext ctx, ExpState state)java.lang.ObjectParam. getSQLValue(Select sel, ExpContext ctx, ExpState state)voidArgs. groupBy(Select sel, ExpContext ctx, ExpState state)voidCoalesceExpression. groupBy(Select sel, ExpContext ctx, ExpState state)voidConcat. groupBy(Select sel, ExpContext ctx, ExpState state)voidGeneralCaseExpression. groupBy(Select sel, ExpContext ctx, ExpState state)voidIndexOf. groupBy(Select sel, ExpContext ctx, ExpState state)voidMapEntry. groupBy(Select sel, ExpContext ctx, ExpState state)voidMapKey. groupBy(Select sel, ExpContext ctx, ExpState state)voidMath. groupBy(Select sel, ExpContext ctx, ExpState state)voidNullIfExpression. groupBy(Select sel, ExpContext ctx, ExpState state)voidPCPath. groupBy(Select sel, ExpContext ctx, ExpState state)voidSimpleCaseExpression. groupBy(Select sel, ExpContext ctx, ExpState state)voidSubQ. groupBy(Select sel, ExpContext ctx, ExpState state)voidSubstring. groupBy(Select sel, ExpContext ctx, ExpState state)voidTrim. groupBy(Select sel, ExpContext ctx, ExpState state)voidVal. groupBy(Select sel, ExpContext ctx, ExpState state)Group by this value.ExpStateArgs. initialize(Select sel, ExpContext ctx, int flags)ExpStateCoalesceExpression. initialize(Select sel, ExpContext ctx, int flags)ExpStateCollectionParam. initialize(Select sel, ExpContext ctx, int flags)ExpStateConcat. initialize(Select sel, ExpContext ctx, int flags)ExpStateGeneralCaseExpression. initialize(Select sel, ExpContext ctx, int flags)ExpStateIndexOf. initialize(Select sel, ExpContext ctx, int flags)ExpStateLit. initialize(Select sel, ExpContext ctx, int flags)ExpStateMapEntry. initialize(Select sel, ExpContext ctx, int flags)ExpStateMapKey. initialize(Select sel, ExpContext ctx, int flags)ExpStateMath. initialize(Select sel, ExpContext ctx, int flags)ExpStateNullIfExpression. initialize(Select sel, ExpContext ctx, int flags)ExpStateParam. initialize(Select sel, ExpContext ctx, int flags)ExpStatePCPath. initialize(Select sel, ExpContext ctx, int flags)ExpStateSimpleCaseExpression. initialize(Select sel, ExpContext ctx, int flags)ExpStateSubQ. initialize(Select sel, ExpContext ctx, int flags)ExpStateSubstring. initialize(Select sel, ExpContext ctx, int flags)ExpStateTrim. initialize(Select sel, ExpContext ctx, int flags)ExpStateTypeLit. initialize(Select sel, ExpContext ctx, int flags)ExpStateVal. initialize(Select sel, ExpContext ctx, int flags)Initialize the value.ExpStateWhenCondition. initialize(Select sel, ExpContext ctx, java.util.Map contains)ExpStateWhenScalar. initialize(Select sel, ExpContext ctx, java.util.Map contains)intArgs. length(Select sel, ExpContext ctx, ExpState state)intCoalesceExpression. length(Select sel, ExpContext ctx, ExpState state)intConcat. length(Select sel, ExpContext ctx, ExpState state)intGeneralCaseExpression. length(Select sel, ExpContext ctx, ExpState state)intIndexOf. length(Select sel, ExpContext ctx, ExpState state)intMapEntry. length(Select sel, ExpContext ctx, ExpState state)intMapKey. length(Select sel, ExpContext ctx, ExpState state)intMath. length(Select sel, ExpContext ctx, ExpState state)intNullIfExpression. length(Select sel, ExpContext ctx, ExpState state)intParam. length(Select sel, ExpContext ctx, ExpState state)intPCPath. length(Select sel, ExpContext ctx, ExpState state)intSimpleCaseExpression. length(Select sel, ExpContext ctx, ExpState state)intSubQ. length(Select sel, ExpContext ctx, ExpState state)intSubstring. length(Select sel, ExpContext ctx, ExpState state)intTrim. length(Select sel, ExpContext ctx, ExpState state)intVal. length(Select sel, ExpContext ctx, ExpState state)Return the number of SQL elements in this value.FilterValue[]Args. newFilterValues(Select sel, ExpContext ctx, ExpState state)Return a filter value for each argument.voidArgs. orderBy(Select sel, ExpContext ctx, ExpState state, boolean asc)voidCoalesceExpression. orderBy(Select sel, ExpContext ctx, ExpState state, boolean asc)voidConcat. orderBy(Select sel, ExpContext ctx, ExpState state, boolean asc)voidGeneralCaseExpression. orderBy(Select sel, ExpContext ctx, ExpState state, boolean asc)voidIndexOf. orderBy(Select sel, ExpContext ctx, ExpState state, boolean asc)voidMapEntry. orderBy(Select sel, ExpContext ctx, ExpState state, boolean asc)voidMapKey. orderBy(Select sel, ExpContext ctx, ExpState state, boolean asc)voidMath. orderBy(Select sel, ExpContext ctx, ExpState state, boolean asc)voidNullIfExpression. orderBy(Select sel, ExpContext ctx, ExpState state, boolean asc)voidPCPath. orderBy(Select sel, ExpContext ctx, ExpState state, boolean asc)voidSimpleCaseExpression. orderBy(Select sel, ExpContext ctx, ExpState state, boolean asc)voidSubQ. orderBy(Select sel, ExpContext ctx, ExpState state, boolean asc)voidSubstring. orderBy(Select sel, ExpContext ctx, ExpState state, boolean asc)voidTrim. orderBy(Select sel, ExpContext ctx, ExpState state, boolean asc)voidVal. orderBy(Select sel, ExpContext ctx, ExpState state, boolean asc)Order by this value.voidArgs. select(Select sel, ExpContext ctx, ExpState state, boolean pks)voidCoalesceExpression. select(Select sel, ExpContext ctx, ExpState state, boolean pks)voidConcat. select(Select sel, ExpContext ctx, ExpState state, boolean pks)voidGeneralCaseExpression. select(Select sel, ExpContext ctx, ExpState state, boolean pks)voidIndexOf. select(Select sel, ExpContext ctx, ExpState state, boolean pks)voidMapEntry. select(Select sel, ExpContext ctx, ExpState state, boolean pks)voidMapKey. select(Select sel, ExpContext ctx, ExpState state, boolean pks)voidMath. select(Select sel, ExpContext ctx, ExpState state, boolean pks)voidNullIfExpression. select(Select sel, ExpContext ctx, ExpState state, boolean pks)voidPCPath. select(Select sel, ExpContext ctx, ExpState state, boolean pks)voidSelectConstructor. select(Select sel, ExpContext ctx, ClassMapping mapping, boolean subclasses, QueryExpressions exps, QueryExpressionsState state, int eager)Select the data for this query.voidSimpleCaseExpression. select(Select sel, ExpContext ctx, ExpState state, boolean pks)voidSubQ. select(Select sel, ExpContext ctx, ExpState state, boolean pks)voidSubstring. select(Select sel, ExpContext ctx, ExpState state, boolean pks)voidTrim. select(Select sel, ExpContext ctx, ExpState state, boolean pks)voidVal. select(Select sel, ExpContext ctx, ExpState state, boolean pks)Select the data for this value.voidArgs. selectColumns(Select sel, ExpContext ctx, ExpState state, boolean pks)voidCoalesceExpression. selectColumns(Select sel, ExpContext ctx, ExpState state, boolean pks)voidConcat. selectColumns(Select sel, ExpContext ctx, ExpState state, boolean pks)voidGeneralCaseExpression. selectColumns(Select sel, ExpContext ctx, ExpState state, boolean pks)voidIndexOf. selectColumns(Select sel, ExpContext ctx, ExpState state, boolean pks)voidMapEntry. selectColumns(Select sel, ExpContext ctx, ExpState state, boolean pks)voidMapKey. selectColumns(Select sel, ExpContext ctx, ExpState state, boolean pks)voidMath. selectColumns(Select sel, ExpContext ctx, ExpState state, boolean pks)voidNullIfExpression. selectColumns(Select sel, ExpContext ctx, ExpState state, boolean pks)voidPCPath. selectColumns(Select sel, ExpContext ctx, ExpState state, boolean pks)voidSimpleCaseExpression. selectColumns(Select sel, ExpContext ctx, ExpState state, boolean pks)voidSubQ. selectColumns(Select sel, ExpContext ctx, ExpState state, boolean pks)voidSubstring. selectColumns(Select sel, ExpContext ctx, ExpState state, boolean pks)voidTrim. selectColumns(Select sel, ExpContext ctx, ExpState state, boolean pks)voidVal. selectColumns(Select sel, ExpContext ctx, ExpState state, boolean pks)Select just the columns for this value.voidWhenCondition. selectColumns(Select sel, ExpContext ctx, ExpState state, boolean pks)voidWhenScalar. selectColumns(Select sel, ExpContext ctx, ExpState state, boolean pks)voidSelectConstructor. setSubselect(Select subselect)java.lang.ObjectMapKey. toDataStoreValue(Select sel, ExpContext ctx, ExpState state, java.lang.Object val)java.lang.ObjectPCPath. toDataStoreValue(Select sel, ExpContext ctx, ExpState state, java.lang.Object val)java.lang.ObjectSubQ. toDataStoreValue(Select sel, ExpContext ctx, ExpState state, java.lang.Object val)java.lang.ObjectVal. toDataStoreValue(Select sel, ExpContext ctx, ExpState state, java.lang.Object val)Return the datastore value of the given object in the context of this value. -
Uses of Select in org.apache.openjpa.jdbc.meta
Methods in org.apache.openjpa.jdbc.meta with parameters of type Select Modifier and Type Method Description booleanDiscriminator. 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.voidFieldMapping. appendIndex(SQLBuffer sql, Select sel, Joins joins)voidFieldStrategy. appendIndex(SQLBuffer sql, Select sel, Joins joins)Append the ordered column alias to the given statement.voidFieldMapping. appendIsEmpty(SQLBuffer sql, Select sel, Joins joins)voidFieldStrategy. appendIsEmpty(SQLBuffer sql, Select sel, Joins joins)Append a where clause to the given statement checking if this value is empty.voidFieldMapping. appendIsNotEmpty(SQLBuffer sql, Select sel, Joins joins)voidFieldStrategy. appendIsNotEmpty(SQLBuffer sql, Select sel, Joins joins)Append a where clause to the given statement checking if this value is not empty.voidFieldMapping. appendIsNotNull(SQLBuffer sql, Select sel, Joins joins)voidFieldStrategy. appendIsNotNull(SQLBuffer sql, Select sel, Joins joins)Append a where clause to the given statement checking if this value is not null.voidFieldMapping. appendIsNull(SQLBuffer sql, Select sel, Joins joins)voidFieldStrategy. appendIsNull(SQLBuffer sql, Select sel, Joins joins)Append a where clause to the given statement checking if this value is null.voidFieldMapping. appendSize(SQLBuffer sql, Select sel, Joins joins)voidFieldStrategy. appendSize(SQLBuffer sql, Select sel, Joins joins)Append a where clause to the given statement checking the size of the value.voidFieldMapping. appendType(SQLBuffer sql, Select sel, Joins joins)voidFieldStrategy. appendType(SQLBuffer sql, Select sel, Joins joins)Append the entity discriminator value to the given statement.SQLBufferDiscriminator. getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subs)SQLBufferDiscriminatorStrategy. 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.JoinsFieldMapping. join(Select sel)Return any joins needed to get from the primary table to this table.voidFieldMapping. 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.voidFieldMapping. orderRelation(Select sel, ClassMapping elem, Joins joins)Add ordering to the given select for all relation-based values.booleanDiscriminator. select(Select sel, ClassMapping mapping)booleanDiscriminatorStrategy. select(Select sel, ClassMapping mapping)Select the data for this Discriminator.intFieldMapping. select(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)intFieldStrategy. select(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)Select the virtual row columns of this mapping.booleanVersion. select(Select sel, ClassMapping mapping)booleanVersionStrategy. select(Select sel, ClassMapping mapping)Select the data for this indicator.voidFieldMapping. selectEagerJoin(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)voidFieldStrategy. selectEagerJoin(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)Fill in joined select to related objects.booleanClassMapping. supportsEagerSelect(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch)booleanClassStrategy. supportsEagerSelect(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch)Return true if this strategy can perform the given select from the givenbasemapping.intFieldMapping. supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)intFieldStrategy. supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)Return whether this mapping can perform the given select type.voidFieldMapping. wherePrimaryKey(Select sel, OpenJPAStateManager sm, JDBCStore store)Add awherePrimaryKeyorwhereForeignKeycondition 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 Modifier and Type Method Description voidAbstractFieldStrategy. appendIndex(SQLBuffer sql, Select sel, Joins joins)voidContainerFieldStrategy. appendIndex(SQLBuffer sql, Select sel, Joins joins)voidAbstractFieldStrategy. appendIsEmpty(SQLBuffer sql, Select sel, Joins joins)voidContainerFieldStrategy. appendIsEmpty(SQLBuffer sql, Select sel, Joins joins)voidAbstractFieldStrategy. appendIsNotEmpty(SQLBuffer sql, Select sel, Joins joins)voidContainerFieldStrategy. appendIsNotEmpty(SQLBuffer sql, Select sel, Joins joins)voidAbstractFieldStrategy. appendIsNotNull(SQLBuffer sql, Select sel, Joins joins)voidContainerFieldStrategy. appendIsNotNull(SQLBuffer sql, Select sel, Joins joins)voidEmbedFieldStrategy. appendIsNotNull(SQLBuffer sql, Select sel, Joins joins)voidHandlerFieldStrategy. appendIsNotNull(SQLBuffer sql, Select sel, Joins joins)voidPrimitiveFieldStrategy. appendIsNotNull(SQLBuffer sql, Select sel, Joins joins)voidRelationFieldStrategy. appendIsNotNull(SQLBuffer sql, Select sel, Joins joins)voidStringFieldStrategy. appendIsNotNull(SQLBuffer sql, Select sel, Joins joins)voidAbstractFieldStrategy. appendIsNull(SQLBuffer sql, Select sel, Joins joins)voidContainerFieldStrategy. appendIsNull(SQLBuffer sql, Select sel, Joins joins)voidEmbedFieldStrategy. appendIsNull(SQLBuffer sql, Select sel, Joins joins)voidHandlerFieldStrategy. appendIsNull(SQLBuffer sql, Select sel, Joins joins)voidPrimitiveFieldStrategy. appendIsNull(SQLBuffer sql, Select sel, Joins joins)voidRelationFieldStrategy. appendIsNull(SQLBuffer sql, Select sel, Joins joins)voidStringFieldStrategy. appendIsNull(SQLBuffer sql, Select sel, Joins joins)protected static voidContainerFieldStrategy. appendJoinCount(SQLBuffer sql, Select sel, Joins joins, DBDictionary dict, FieldMapping field, ForeignKey fk)voidAbstractFieldStrategy. appendSize(SQLBuffer sql, Select sel, Joins joins)voidContainerFieldStrategy. appendSize(SQLBuffer sql, Select sel, Joins joins)voidAbstractFieldStrategy. appendType(SQLBuffer sql, Select sel, Joins joins)static voidContainerFieldStrategy. appendUnaliasedJoin(SQLBuffer sql, Select sel, Joins joins, DBDictionary dict, FieldMapping field, ForeignKey fk)SQLBufferAbstractDiscriminatorStrategy. getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subs)SQLBufferInValueDiscriminatorStrategy. getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subclasses)SQLBufferSubclassJoinDiscriminatorStrategy. getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subclasses)SQLBufferSuperclassDiscriminatorStrategy. getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subclasses)booleanAbstractDiscriminatorStrategy. select(Select sel, ClassMapping mapping)intAbstractFieldStrategy. select(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)booleanAbstractVersionStrategy. select(Select sel, ClassMapping mapping)booleanColumnVersionStrategy. select(Select sel, ClassMapping mapping)intEmbedFieldStrategy. select(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)intHandlerFieldStrategy. select(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)booleanInValueDiscriminatorStrategy. select(Select sel, ClassMapping mapping)intLobFieldStrategy. select(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)intPrimitiveFieldStrategy. select(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)intRelationFieldStrategy. select(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)intStringFieldStrategy. select(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)booleanSubclassJoinDiscriminatorStrategy. select(Select sel, ClassMapping mapping)protected JoinsStoreCollectionFieldStrategy. selectAll(Select sel, ClassMapping elem, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)Select data for loading, starting in field table.voidAbstractFieldStrategy. selectEagerJoin(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)voidRelationFieldStrategy. selectEagerJoin(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)voidStoreCollectionFieldStrategy. selectEagerJoin(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode)voidHandlerCollectionTableFieldStrategy. selectElement(Select sel, ClassMapping elem, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins joins)voidLRSCollectionFieldStrategy. 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 fromLRSCollectionFieldStrategy.getIndependentElementMappings(boolean)(or null).voidRelationCollectionInverseKeyFieldStrategy. selectElement(Select sel, ClassMapping elem, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins joins)voidRelationCollectionTableFieldStrategy. selectElement(Select sel, ClassMapping elem, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins joins)protected voidRelationToManyInverseKeyFieldStrategy. selectElement(Select sel, ClassMapping elem, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins joins)protected voidRelationToManyTableFieldStrategy. selectElement(Select sel, ClassMapping elem, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins joins)protected abstract voidStoreCollectionFieldStrategy. 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 fromContainerFieldStrategy.getIndependentElementMappings(boolean)(or null).voidHandlerHandlerMapTableFieldStrategy. selectKey(Select sel, ClassMapping cls, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidHandlerRelationMapTableFieldStrategy. selectKey(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidLRSMapFieldStrategy. selectKey(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)Implement this method to select the keys of this field.voidRelationHandlerMapTableFieldStrategy. selectKey(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidRelationMapInverseKeyFieldStrategy. selectKey(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidRelationMapTableFieldStrategy. selectKey(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidRelationRelationMapTableFieldStrategy. selectKey(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidHandlerHandlerMapTableFieldStrategy. selectValue(Select sel, ClassMapping cls, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidHandlerRelationMapTableFieldStrategy. selectValue(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidLRSMapFieldStrategy. selectValue(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)Implement this method to select the values of this field.voidRelationHandlerMapTableFieldStrategy. selectValue(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidRelationMapInverseKeyFieldStrategy. selectValue(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidRelationMapTableFieldStrategy. selectValue(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)voidRelationRelationMapTableFieldStrategy. selectValue(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)booleanAbstractClassStrategy. supportsEagerSelect(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch)booleanFullClassStrategy. supportsEagerSelect(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch)booleanVerticalClassStrategy. supportsEagerSelect(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch)intAbstractFieldStrategy. supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)intEmbedFieldStrategy. supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)intHandlerCollectionTableFieldStrategy. supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)intHandlerFieldStrategy. supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)intLobFieldStrategy. supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)intMapTableFieldStrategy. supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)intPrimitiveFieldStrategy. supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)intRelationFieldStrategy. supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)intStoreCollectionFieldStrategy. supportsSelect(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)intStringFieldStrategy. 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 Modifier and Type Class Description classLogicalUnion.UnionSelectA select that is part of a logical union.classSelectImplStandardSelectimplementation.Methods in org.apache.openjpa.jdbc.sql that return Select Modifier and Type Method Description SelectLogicalUnion.UnionSelect. getFromSelect()SelectSelect. getFromSelect()Another select instance that creates a temporary table from which this select pulls data.SelectSelectImpl. getFromSelect()SelectLogicalUnion.UnionSelect. getParent()SelectSelect. getParent()Return the parent of this select, if it is a subselect.SelectSelectImpl. getParent()SelectSelectImpl. getSelect()Select[]LogicalUnion. getSelects()Select[]Union. getSelects()Return the selects that make up this union.SelectSQLFactory. newSelect()Select factory.SelectSQLFactoryImpl. newSelect()Methods in org.apache.openjpa.jdbc.sql with parameters of type Select Modifier and Type Method Description SQLBufferSQLBuffer. append(Select sel, JDBCFetchConfiguration fetch)Append a subselect.SQLBufferSQLBuffer. appendCount(Select sel, JDBCFetchConfiguration fetch)Append a subselect count.protected voidDB2Dictionary. appendSelect(SQLBuffer selectSQL, java.lang.Object alias, Select sel, int idx)protected voidDBDictionary. appendSelect(SQLBuffer selectSQL, java.lang.Object elem, Select sel, int idx)AppendelemtoselectSQL.protected voidSolidDBDictionary. appendSelect(SQLBuffer selectSQL, java.lang.Object alias, Select sel, int idx)protected voidDBDictionary. appendUpdates(Select sel, JDBCStore store, SQLBuffer sql, java.lang.Object[] params, java.util.Map updateParams, boolean allowAlias)intDBDictionary. applyRange(Select select, int count)intDerbyDictionary. applyRange(Select select, int count)Applies range calculation on the actual number of rows selected by aCOUNT(*)query.protected voidDBDictionary. 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.voidDBDictionary. deleteStream(JDBCStore store, Select sel)voidPostgresDictionary. deleteStream(JDBCStore store, Select sel)protected SQLBufferDBDictionary. getDeleteTargets(Select sel)protected java.lang.StringDB2Dictionary. getForUpdateClause(JDBCFetchConfiguration fetch, boolean isForUpdate, Select sel)Get the update clause for the query based on the isolationLevel hints if it is for update.protected java.lang.StringDBDictionary. getForUpdateClause(JDBCFetchConfiguration fetch, boolean isForUpdate, Select sel)Get the update clause for the query based on the updateClause and isolationLevel hintsprotected SQLBufferDBDictionary. getFrom(Select sel, boolean forUpdate)Return the portion of the select statement between the FROM keyword and the WHERE keyword.protected SQLBufferDBDictionary. getFromSelect(Select sel, boolean forUpdate)Return the FROM clause for a select that selects from a tmp table created by an inner select.protected java.lang.StringDB2Dictionary. getOptimizeClause(Select sel)protected SQLBufferDBDictionary. getSelects(Select sel, boolean distinctIdentifiers, boolean forUpdate)Return the portion of the select statement between the SELECT keyword and the FROM keyword.protected SQLBufferOracleDictionary. getSelects(Select sel, boolean distinctIdentifiers, boolean forUpdate)protected java.util.Collection<java.lang.String>DBDictionary. getSelectTableAliases(Select sel)protected java.util.Collection<java.lang.String>MariaDBDictionary. getSelectTableAliases(Select sel)protected java.util.Collection<java.lang.String>MySQLDictionary. getSelectTableAliases(Select sel)protected SQLBufferDBDictionary. getWhere(Select sel, boolean forUpdate)Return the WHERE portion of the select statement, or null if no where conditions.voidDB2Dictionary. insertBlobForStreamingLoad(Row row, Column col, JDBCStore store, java.lang.Object ob, Select sel)voidDBDictionary. insertBlobForStreamingLoad(Row row, Column col, JDBCStore store, java.lang.Object ob, Select sel)voidOracleDictionary. insertBlobForStreamingLoad(Row row, Column col, JDBCStore store, java.lang.Object ob, Select sel)voidPostgresDictionary. insertBlobForStreamingLoad(Row row, Column col, JDBCStore store, java.lang.Object ob, Select sel)UnionSQLFactory. newUnion(Select[] selects)Union factory.UnionSQLFactoryImpl. newUnion(Select[] selects)booleanSQLBuffer. replace(Select old, Select sel)Replace a subselect.voidLogicalUnion.Selector. select(Select sel, int i)Populate theith select in the union.voidUnion.Selector. select(Select sel, int i)Populate theith select in the union.voidLogicalUnion.UnionSelect. setFromSelect(Select sel)voidSelect. setFromSelect(Select sel)Another select instance that creates a temporary table from which this select pulls data.voidSelectImpl. setFromSelect(Select sel)voidLogicalUnion.UnionSelect. setParent(Select parent, java.lang.String path)voidSelect. setParent(Select parent, java.lang.String path)Turn this select into a subselect of the given instance.voidSelectImpl. setParent(Select parent, java.lang.String path)booleanDBDictionary. supportsLocking(Select sel)Returns true if a "FOR UPDATE" clause can be used for the specified Select object.booleanOracleDictionary. supportsLocking(Select sel)booleanDB2Dictionary. supportsRandomAccessResultSet(Select sel, boolean forUpdate)booleanDBDictionary. supportsRandomAccessResultSet(Select sel, boolean forUpdate)Return false if the given select requires a forward-only result set.booleanInformixDictionary. supportsRandomAccessResultSet(Select sel, boolean forUpdate)protected SQLBufferDBDictionary. toBulkOperation(ClassMapping mapping, Select sel, JDBCStore store, java.lang.Object[] params, java.util.Map updateParams)Returns the SQL for a bulk operation, either a DELETE or an UPDATE.SQLBufferDBDictionary. toDelete(ClassMapping mapping, Select sel, java.lang.Object[] params)Create a DELETE statement for the specified Select.protected SQLBufferDB2Dictionary. 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)SQLBufferDBDictionary. toSelect(Select sel, boolean forUpdate, JDBCFetchConfiguration fetch)Create a SELECT statement in the proper join syntax for the given instance.protected SQLBufferDBDictionary. 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 SQLBufferDBDictionary. 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.protected SQLBufferOracleDictionary. 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 SQLBufferOracleDictionary. 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)SQLBufferDBDictionary. toSelectCount(Select sel)Create a SELECT COUNT statement in the proper join syntax for the given instance.SQLBufferDBDictionary. toSQL92Join(Select sel, Join join, boolean forUpdate, boolean first)Use the given join instance to create SQL joining its tables in the SQL92 style.SQLBufferDBDictionary. toUpdate(ClassMapping mapping, Select sel, JDBCStore store, java.lang.Object[] params, java.util.Map updates)voidDB2Dictionary. updateBlob(Select sel, JDBCStore store, java.io.InputStream is)voidDBDictionary. updateBlob(Select sel, JDBCStore store, java.io.InputStream is)voidPostgresDictionary. updateBlob(Select sel, JDBCStore store, java.io.InputStream is)voidDB2Dictionary. updateClob(Select sel, JDBCStore store, java.io.Reader reader)voidDBDictionary. updateClob(Select sel, JDBCStore store, java.io.Reader reader)Constructors in org.apache.openjpa.jdbc.sql with parameters of type Select Constructor Description LogicalUnion(JDBCConfiguration conf, int sels, Select[] seeds)Delegate constructor.LogicalUnion(JDBCConfiguration conf, Select[] seeds)Constructor used to seed the internal selects.
-