Uses of Interface
org.apache.openjpa.jdbc.sql.Joins
Packages that use Joins
Package
Description
OpenJPA-JDBC Expression Tree
OpenJPA-JDBC ORM Metadata
OpenJPA-JDBC ORM Strategies
OpenJPA-JDBC SQL Abstraction
-
Uses of Joins in org.apache.openjpa.jdbc.kernel.exps
Fields in org.apache.openjpa.jdbc.kernel.exps declared as JoinsConstructors in org.apache.openjpa.jdbc.kernel.exps with parameters of type Joins -
Uses of Joins in org.apache.openjpa.jdbc.meta
Methods in org.apache.openjpa.jdbc.meta that return JoinsModifier and TypeMethodDescriptionJoins from the owning class' table to the table where this field lies using the join foreign key.Return any joins needed to get from the primary table to this table.Join this value to the class table.Join the key value to the class table.FieldMapping.joinKeyRelation(Joins joins, boolean forceOuter, boolean traverse) FieldStrategy.joinKeyRelation(Joins joins, boolean forceOuter, boolean traverse) Join this value's table to the table for the related first class object key type, if any.FieldMapping.joinRelation(Joins joins, boolean forceOuter, boolean traverse) FieldStrategy.joinRelation(Joins joins, boolean forceOuter, boolean traverse) Join this value's table to the table for the related first class object type, if any.ClassMapping.joinSuperclass(Joins joins, boolean toThis) ClassStrategy.joinSuperclass(Joins joins, boolean toThis) Join the mapping and its superclass.Methods in org.apache.openjpa.jdbc.meta with parameters of type JoinsModifier and TypeMethodDescriptionbooleanDiscriminator.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.Discriminator.getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subs) 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.ClassMapping.getObjectId(JDBCStore store, Result res, ForeignKey fk, boolean subs, Joins joins) Return the oid value stored in the result.DelegatingJoinable.getPrimaryKeyValue(Result res, Column[] cols, ForeignKey fk, JDBCStore store, Joins joins) Joinable.getPrimaryKeyValue(Result res, Column[] cols, ForeignKey fk, JDBCStore store, Joins joins) Return the value for this joinable from the given result, using the given columns.Joins from the owning class' table to the table where this field lies using the join foreign key.Join this value to the class table.Join the key value to the class table.FieldMapping.joinKeyRelation(Joins joins, boolean forceOuter, boolean traverse) FieldStrategy.joinKeyRelation(Joins joins, boolean forceOuter, boolean traverse) Join this value's table to the table for the related first class object key type, if any.FieldMapping.joinRelation(Joins joins, boolean forceOuter, boolean traverse) FieldStrategy.joinRelation(Joins joins, boolean forceOuter, boolean traverse) Join this value's table to the table for the related first class object type, if any.ClassMapping.joinSuperclass(Joins joins, boolean toThis) ClassStrategy.joinSuperclass(Joins joins, boolean toThis) Join the mapping and its superclass.Version.load(OpenJPAStateManager sm, JDBCStore store, Result res, Joins joins) VersionStrategy.load(OpenJPAStateManager sm, JDBCStore store, Result res, Joins joins) Load data.FieldMapping.loadKeyProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) FieldStrategy.loadKeyProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load this field's key value using the given result.FieldMapping.loadProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) FieldStrategy.loadProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load this field value using the given result.QueryResultMapping.PCResult.map(List<MetaDataContext> path, Object id, Joins joins) Map the given request onto a result id.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. -
Uses of Joins in org.apache.openjpa.jdbc.meta.strats
Methods in org.apache.openjpa.jdbc.meta.strats that return JoinsModifier and TypeMethodDescriptionprotected JoinsHandlerCollectionTableFieldStrategy.join(Joins joins, ClassMapping elem) RelationCollectionInverseKeyFieldStrategy.join(Joins joins, ClassMapping elem) RelationCollectionTableFieldStrategy.join(Joins joins, ClassMapping elem) protected JoinsRelationToManyInverseKeyFieldStrategy.join(Joins joins, ClassMapping elem) protected JoinsRelationToManyTableFieldStrategy.join(Joins joins, ClassMapping elem) protected abstract JoinsStoreCollectionFieldStrategy.join(Joins joins, ClassMapping elem) Join to the owning field table for the given element mapping fromContainerFieldStrategy.getIndependentElementMappings(boolean)(or null).HandlerCollectionTableFieldStrategy.joinElementRelation(Joins joins, ClassMapping elem) LRSCollectionFieldStrategy.joinElementRelation(Joins joins, ClassMapping elem) Join this value's table to the table for the given element mapping fromLRSCollectionFieldStrategy.getIndependentElementMappings(boolean)(or null).RelationCollectionInverseKeyFieldStrategy.joinElementRelation(Joins joins, ClassMapping elem) RelationCollectionTableFieldStrategy.joinElementRelation(Joins joins, ClassMapping elem) protected JoinsRelationToManyInverseKeyFieldStrategy.joinElementRelation(Joins joins, ClassMapping elem) protected JoinsRelationToManyTableFieldStrategy.joinElementRelation(Joins joins, ClassMapping elem) protected abstract JoinsStoreCollectionFieldStrategy.joinElementRelation(Joins joins, ClassMapping elem) Join this value's table to the table for the given element mapping fromContainerFieldStrategy.getIndependentElementMappings(boolean)(or null).AbstractFieldStrategy.joinKeyRelation(Joins joins, boolean forceOuter, boolean traverse) HandlerHandlerMapTableFieldStrategy.joinKeyRelation(Joins joins, boolean forceOuter, boolean traverse) HandlerRelationMapTableFieldStrategy.joinKeyRelation(Joins joins, boolean forceOuter, boolean traverse) LRSMapFieldStrategy.joinKeyRelation(Joins joins, ClassMapping key) Join this value's table to the table for the given key mapping fromLRSMapFieldStrategy.getIndependentKeyMappings(boolean)(or null).MapTableFieldStrategy.joinKeyRelation(Joins joins, ClassMapping key) RelationHandlerMapTableFieldStrategy.joinKeyRelation(Joins joins, boolean forceOuter, boolean traverse) RelationHandlerMapTableFieldStrategy.joinKeyRelation(Joins joins, ClassMapping key) RelationMapInverseKeyFieldStrategy.joinKeyRelation(Joins joins, boolean forceOuter, boolean traverse) RelationMapInverseKeyFieldStrategy.joinKeyRelation(Joins joins, ClassMapping key) RelationMapTableFieldStrategy.joinKeyRelation(Joins joins, boolean forceOuter, boolean traverse) RelationMapTableFieldStrategy.joinKeyRelation(Joins joins, ClassMapping key) RelationRelationMapTableFieldStrategy.joinKeyRelation(Joins joins, boolean forceOuter, boolean traverse) RelationRelationMapTableFieldStrategy.joinKeyRelation(Joins joins, ClassMapping key) AbstractFieldStrategy.joinRelation(Joins joins, boolean forceOuter, boolean traverse) HandlerCollectionTableFieldStrategy.joinRelation(Joins joins, boolean forceOuter, boolean traverse) HandlerFieldStrategy.joinRelation(Joins joins, boolean forceOuter, boolean traverse) HandlerHandlerMapTableFieldStrategy.joinRelation(Joins joins, boolean forceOuter, boolean traverse) HandlerRelationMapTableFieldStrategy.joinRelation(Joins joins, boolean forceOuter, boolean traverse) RelationFieldStrategy.joinRelation(Joins joins, boolean forceOuter, boolean traverse) RelationHandlerMapTableFieldStrategy.joinRelation(Joins joins, boolean forceOuter, boolean traverse) RelationRelationMapTableFieldStrategy.joinRelation(Joins joins, boolean forceOuter, boolean traverse) RelationToManyTableFieldStrategy.joinRelation(Joins joins, boolean forceOuter, boolean traverse) AbstractClassStrategy.joinSuperclass(Joins joins, boolean toThis) VerticalClassStrategy.joinSuperclass(Joins joins, boolean toThis) HandlerRelationMapTableFieldStrategy.joinValueRelation(Joins joins, ClassMapping val) LRSMapFieldStrategy.joinValueRelation(Joins joins, ClassMapping val) Join this value's table to the table for the given value mapping fromLRSMapFieldStrategy.getIndependentValueMappings(boolean)(or null).MapTableFieldStrategy.joinValueRelation(Joins joins, ClassMapping val) InvokesFieldStrategy.joinRelation(org.apache.openjpa.jdbc.sql.Joins, boolean, boolean)by default.RelationMapInverseKeyFieldStrategy.joinValueRelation(Joins joins, ClassMapping val) RelationMapTableFieldStrategy.joinValueRelation(Joins joins, ClassMapping val) RelationRelationMapTableFieldStrategy.joinValueRelation(Joins joins, ClassMapping val) protected JoinsStoreCollectionFieldStrategy.selectAll(Select sel, ClassMapping elem, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) Select data for loading, starting in field table.Methods in org.apache.openjpa.jdbc.meta.strats with parameters of type JoinsModifier and TypeMethodDescriptionvoidAbstractFieldStrategy.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) AbstractDiscriminatorStrategy.getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subs) InValueDiscriminatorStrategy.getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subclasses) SubclassJoinDiscriminatorStrategy.getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subclasses) SuperclassDiscriminatorStrategy.getClassConditions(Select sel, Joins joins, ClassMapping base, boolean subclasses) HandlerFieldStrategy.getPrimaryKeyValue(Result res, Column[] cols, ForeignKey fk, JDBCStore store, Joins joins) PrimitiveFieldStrategy.getPrimaryKeyValue(Result res, Column[] cols, ForeignKey fk, JDBCStore store, Joins joins) RelationFieldStrategy.getPrimaryKeyValue(Result res, Column[] cols, ForeignKey fk, JDBCStore store, Joins joins) StringFieldStrategy.getPrimaryKeyValue(Result res, Column[] cols, ForeignKey fk, JDBCStore store, Joins joins) Result[]HandlerHandlerMapTableFieldStrategy.getResults(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] joins, boolean lrs) Result[]HandlerRelationMapTableFieldStrategy.getResults(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] resJoins, boolean lrs) Result[]LRSMapFieldStrategy.getResults(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] joins, boolean lrs) Return results containing all keys and values for this map.Result[]RelationHandlerMapTableFieldStrategy.getResults(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] resJoins, boolean lrs) Result[]RelationMapInverseKeyFieldStrategy.getResults(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] joins, boolean lrs) Result[]RelationMapTableFieldStrategy.getResults(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] joins, boolean lrs) Result[]RelationRelationMapTableFieldStrategy.getResults(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] resJoins, boolean lrs) protected JoinsHandlerCollectionTableFieldStrategy.join(Joins joins, ClassMapping elem) RelationCollectionInverseKeyFieldStrategy.join(Joins joins, ClassMapping elem) RelationCollectionTableFieldStrategy.join(Joins joins, ClassMapping elem) protected JoinsRelationToManyInverseKeyFieldStrategy.join(Joins joins, ClassMapping elem) protected JoinsRelationToManyTableFieldStrategy.join(Joins joins, ClassMapping elem) protected abstract JoinsStoreCollectionFieldStrategy.join(Joins joins, ClassMapping elem) Join to the owning field table for the given element mapping fromContainerFieldStrategy.getIndependentElementMappings(boolean)(or null).HandlerCollectionTableFieldStrategy.joinElementRelation(Joins joins, ClassMapping elem) LRSCollectionFieldStrategy.joinElementRelation(Joins joins, ClassMapping elem) Join this value's table to the table for the given element mapping fromLRSCollectionFieldStrategy.getIndependentElementMappings(boolean)(or null).RelationCollectionInverseKeyFieldStrategy.joinElementRelation(Joins joins, ClassMapping elem) RelationCollectionTableFieldStrategy.joinElementRelation(Joins joins, ClassMapping elem) protected JoinsRelationToManyInverseKeyFieldStrategy.joinElementRelation(Joins joins, ClassMapping elem) protected JoinsRelationToManyTableFieldStrategy.joinElementRelation(Joins joins, ClassMapping elem) protected abstract JoinsStoreCollectionFieldStrategy.joinElementRelation(Joins joins, ClassMapping elem) Join this value's table to the table for the given element mapping fromContainerFieldStrategy.getIndependentElementMappings(boolean)(or null).AbstractFieldStrategy.joinKeyRelation(Joins joins, boolean forceOuter, boolean traverse) HandlerHandlerMapTableFieldStrategy.joinKeyRelation(Joins joins, boolean forceOuter, boolean traverse) HandlerRelationMapTableFieldStrategy.joinKeyRelation(Joins joins, boolean forceOuter, boolean traverse) LRSMapFieldStrategy.joinKeyRelation(Joins joins, ClassMapping key) Join this value's table to the table for the given key mapping fromLRSMapFieldStrategy.getIndependentKeyMappings(boolean)(or null).MapTableFieldStrategy.joinKeyRelation(Joins joins, ClassMapping key) RelationHandlerMapTableFieldStrategy.joinKeyRelation(Joins joins, boolean forceOuter, boolean traverse) RelationHandlerMapTableFieldStrategy.joinKeyRelation(Joins joins, ClassMapping key) RelationMapInverseKeyFieldStrategy.joinKeyRelation(Joins joins, boolean forceOuter, boolean traverse) RelationMapInverseKeyFieldStrategy.joinKeyRelation(Joins joins, ClassMapping key) RelationMapTableFieldStrategy.joinKeyRelation(Joins joins, boolean forceOuter, boolean traverse) RelationMapTableFieldStrategy.joinKeyRelation(Joins joins, ClassMapping key) RelationRelationMapTableFieldStrategy.joinKeyRelation(Joins joins, boolean forceOuter, boolean traverse) RelationRelationMapTableFieldStrategy.joinKeyRelation(Joins joins, ClassMapping key) AbstractFieldStrategy.joinRelation(Joins joins, boolean forceOuter, boolean traverse) HandlerCollectionTableFieldStrategy.joinRelation(Joins joins, boolean forceOuter, boolean traverse) HandlerFieldStrategy.joinRelation(Joins joins, boolean forceOuter, boolean traverse) HandlerHandlerMapTableFieldStrategy.joinRelation(Joins joins, boolean forceOuter, boolean traverse) HandlerRelationMapTableFieldStrategy.joinRelation(Joins joins, boolean forceOuter, boolean traverse) RelationFieldStrategy.joinRelation(Joins joins, boolean forceOuter, boolean traverse) RelationHandlerMapTableFieldStrategy.joinRelation(Joins joins, boolean forceOuter, boolean traverse) RelationRelationMapTableFieldStrategy.joinRelation(Joins joins, boolean forceOuter, boolean traverse) RelationToManyTableFieldStrategy.joinRelation(Joins joins, boolean forceOuter, boolean traverse) AbstractClassStrategy.joinSuperclass(Joins joins, boolean toThis) VerticalClassStrategy.joinSuperclass(Joins joins, boolean toThis) HandlerRelationMapTableFieldStrategy.joinValueRelation(Joins joins, ClassMapping val) LRSMapFieldStrategy.joinValueRelation(Joins joins, ClassMapping val) Join this value's table to the table for the given value mapping fromLRSMapFieldStrategy.getIndependentValueMappings(boolean)(or null).MapTableFieldStrategy.joinValueRelation(Joins joins, ClassMapping val) InvokesFieldStrategy.joinRelation(org.apache.openjpa.jdbc.sql.Joins, boolean, boolean)by default.RelationMapInverseKeyFieldStrategy.joinValueRelation(Joins joins, ClassMapping val) RelationMapTableFieldStrategy.joinValueRelation(Joins joins, ClassMapping val) RelationRelationMapTableFieldStrategy.joinValueRelation(Joins joins, ClassMapping val) AbstractVersionStrategy.load(OpenJPAStateManager sm, JDBCStore store, Result res, Joins joins) ColumnVersionStrategy.load(OpenJPAStateManager sm, JDBCStore store, Result res, Joins joins) protected Objectprotected Objectstatic ObjectHandlerStrategies.loadDataStore(ValueMapping vm, Result res, Joins joins, Column[] cols) Load the datastore value from the given result.HandlerCollectionTableFieldStrategy.loadElement(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) LRSCollectionFieldStrategy.loadElement(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load an element of the collection.RelationCollectionInverseKeyFieldStrategy.loadElement(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationCollectionTableFieldStrategy.loadElement(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) protected ObjectRelationToManyInverseKeyFieldStrategy.loadElement(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) protected ObjectRelationToManyTableFieldStrategy.loadElement(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) protected abstract ObjectStoreCollectionFieldStrategy.loadElement(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load an element of the collection.HandlerHandlerMapTableFieldStrategy.loadKey(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) HandlerRelationMapTableFieldStrategy.loadKey(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) LRSMapFieldStrategy.loadKey(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load a key from the given result.RelationHandlerMapTableFieldStrategy.loadKey(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationMapInverseKeyFieldStrategy.loadKey(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationMapTableFieldStrategy.loadKey(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationRelationMapTableFieldStrategy.loadKey(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) AbstractFieldStrategy.loadKeyProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) MapTableFieldStrategy.loadKeyProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) static ObjectHandlerStrategies.loadObject(ValueMapping vm, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins, Column[] cols, boolean objectValueRequiresLoad) Load the Object value from the given result.AbstractFieldStrategy.loadProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) EmbedFieldStrategy.loadProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Loading embed object without instantiating owner entityHandlerFieldStrategy.loadProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) MapTableFieldStrategy.loadProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) PrimitiveFieldStrategy.loadProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) StoreCollectionFieldStrategy.loadProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) StringFieldStrategy.loadProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) HandlerHandlerMapTableFieldStrategy.loadValue(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) HandlerRelationMapTableFieldStrategy.loadValue(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) LRSMapFieldStrategy.loadValue(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load a value from the given result.RelationHandlerMapTableFieldStrategy.loadValue(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationMapInverseKeyFieldStrategy.loadValue(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationMapTableFieldStrategy.loadValue(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationRelationMapTableFieldStrategy.loadValue(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) 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) -
Uses of Joins in org.apache.openjpa.jdbc.sql
Classes in org.apache.openjpa.jdbc.sql that implement JoinsModifier and TypeClassDescriptionclassStandardSelectimplementation.static classAResultimplementation wrapped around this select.Methods in org.apache.openjpa.jdbc.sql that return JoinsModifier and TypeMethodDescriptionAND the given joins together.Perform a cross join on the given tables.LogicalUnion.UnionSelect.getJoins()Select.getJoins()Return the top-level joins for this select.SelectImpl.getJoins()Join.getRelationJoins()If joining a relation, the joins leading to the relation.Joins.join(ForeignKey fk, boolean inverse, boolean toMany) Join the columns of the given foreign key.SelectImpl.join(ForeignKey fk, boolean inverse, boolean toMany) SelectImpl.SelectResult.join(ForeignKey fk, boolean inverse, boolean toMany) Joins.joinRelation(String name, ForeignKey fk, ClassMapping target, int subclasses, boolean inverse, boolean toMany) Join the columns of the given foreign key, which represents a relation via the given field name.SelectImpl.joinRelation(String name, ForeignKey fk, ClassMapping target, int subs, boolean inverse, boolean toMany) SelectImpl.SelectResult.joinRelation(String name, ForeignKey fk, ClassMapping target, int subs, boolean inverse, boolean toMany) AbstractResult.newJoins()Returns a no-op joins object by default.LogicalUnion.UnionSelect.newJoins()MergedResult.newJoins()Result.newJoins()Return a new joins instance to use for traversing to related data.Select.newJoins()Return a new instance to use for joining.SelectImpl.newJoins()SelectImpl.SelectResult.newJoins()LogicalUnion.UnionSelect.newOuterJoins()Select.newOuterJoins()Return a new instance to use for outer joining.SelectImpl.newOuterJoins()OR the given joins together.Return a join set making the given joins outer joins.Joins.outerJoin(ForeignKey fk, boolean inverse, boolean toMany) Join the columns of the given foreign key.SelectImpl.outerJoin(ForeignKey fk, boolean inverse, boolean toMany) SelectImpl.SelectResult.outerJoin(ForeignKey fk, boolean inverse, boolean toMany) Joins.outerJoinRelation(String name, ForeignKey fk, ClassMapping target, int subclasses, boolean inverse, boolean toMany) Join the columns of the given foreign key, which represents a relation via the given field name.SelectImpl.outerJoinRelation(String name, ForeignKey fk, ClassMapping target, int subs, boolean inverse, boolean toMany) SelectImpl.SelectResult.outerJoinRelation(String name, ForeignKey fk, ClassMapping target, int subs, boolean inverse, boolean toMany) Joins.setCorrelatedVariable(String var) Set the correlated variable name being traversed into with the next join.SelectImpl.SelectResult.setCorrelatedVariable(String var) SelectImpl.setCorrelatedVariable(String var) Joins.setJoinContext(Context context) Set subquery context when traversing into the next join is in transition from parent context to subquery.SelectImpl.SelectResult.setJoinContext(Context ctx) SelectImpl.setJoinContext(Context ctx) Joins.setSubselect(String alias) Set the subquery alias.SelectImpl.SelectResult.setSubselect(String alias) SelectImpl.setSubselect(String alias) Joins.setVariable(String var) Set the variable name being traversed into with the next join.SelectImpl.SelectResult.setVariable(String var) SelectImpl.setVariable(String var) Methods in org.apache.openjpa.jdbc.sql with parameters of type JoinsModifier and TypeMethodDescriptionAND the given joins together.voidvoidAppend the given joins to the given buffer.voidbooleanbooleanbooleanReturn true if the given column is available in the result.booleanAbstractResult.containsAll(Column[] cols, Joins joins) booleanMergedResult.containsAll(Column[] cols, Joins joins) booleanResult.containsAll(Column[] cols, Joins joins) Return true if all the given columns are available in the result.protected booleanAbstractResult.containsAllInternal(Object[] objs, Joins joins) Return whether this result contains data for all the given ids or columns.protected booleanSelectImpl.SelectResult.containsAllInternal(Object[] objs, Joins joins) protected abstract booleanAbstractResult.containsInternal(Object obj, Joins joins) Return whether this result contains data for the given id or column.protected booleanResultSetResult.containsInternal(Object obj, Joins joins) protected booleanSelectImpl.SelectResult.containsInternal(Object obj, Joins joins) protected intResultSetResult.findObject(Object obj, Joins joins) Return the 1-based result set index for the given column or id, or a non-positive number if the column is not contained in this result.protected intSelectImpl.SelectResult.findObject(Object obj, Joins joins) Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.protected ArrayAbstractResult.getArrayInternal(Object obj, Joins joins) protected ArrayResultSetResult.getArrayInternal(Object obj, Joins joins) AbstractResult.getAsciiStream(Column col, Joins joins) MergedResult.getAsciiStream(Column col, Joins joins) Result.getAsciiStream(Column col, Joins joins) Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.protected InputStreamAbstractResult.getAsciiStreamInternal(Object obj, Joins joins) protected InputStreamResultSetResult.getAsciiStreamInternal(Object obj, Joins joins) AbstractResult.getBigDecimal(Column col, Joins joins) MergedResult.getBigDecimal(Column col, Joins joins) Result.getBigDecimal(Column col, Joins joins) Return the value stored in the given column.protected BigDecimalAbstractResult.getBigDecimalInternal(Object obj, Joins joins) protected BigDecimalResultSetResult.getBigDecimalInternal(Object obj, Joins joins) AbstractResult.getBigInteger(Column col, Joins joins) MergedResult.getBigInteger(Column col, Joins joins) Result.getBigInteger(Column col, Joins joins) Return the value stored in the given column.protected BigIntegerAbstractResult.getBigIntegerInternal(Object obj, Joins joins) protected BigIntegerResultSetResult.getBigIntegerInternal(Object obj, Joins joins) AbstractResult.getBinaryStream(Column col, Joins joins) MergedResult.getBinaryStream(Column col, Joins joins) Result.getBinaryStream(Column col, Joins joins) Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.protected InputStreamAbstractResult.getBinaryStreamInternal(Object obj, Joins joins) protected InputStreamResultSetResult.getBinaryStreamInternal(Object obj, Joins joins) Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.protected BlobAbstractResult.getBlobInternal(Object obj, Joins joins) protected BlobResultSetResult.getBlobInternal(Object obj, Joins joins) booleanAbstractResult.getBoolean(Column col, Joins joins) booleanMergedResult.getBoolean(Column col, Joins joins) booleanResult.getBoolean(Column col, Joins joins) Return the value stored in the given column.protected booleanAbstractResult.getBooleanInternal(Object obj, Joins joins) protected booleanResultSetResult.getBooleanInternal(Object obj, Joins joins) bytebytebyteReturn the value stored in the given column.protected byteAbstractResult.getByteInternal(Object obj, Joins joins) protected byteResultSetResult.getByteInternal(Object obj, Joins joins) byte[]byte[]byte[]Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.protected byte[]AbstractResult.getBytesInternal(Object obj, Joins joins) protected byte[]ResultSetResult.getBytesInternal(Object obj, Joins joins) AbstractResult.getCalendar(Column col, Joins joins) MergedResult.getCalendar(Column col, Joins joins) Result.getCalendar(Column col, Joins joins) Return the value stored in the given column.protected CalendarAbstractResult.getCalendarInternal(Object obj, Joins joins) protected CalendarResultSetResult.getCalendarInternal(Object obj, Joins joins) charcharcharReturn the value stored in the given column.AbstractResult.getCharacterStream(Column col, Joins joins) MergedResult.getCharacterStream(Column col, Joins joins) Result.getCharacterStream(Column col, Joins joins) Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.protected ReaderAbstractResult.getCharacterStreamInternal(Object obj, Joins joins) protected ReaderResultSetResult.getCharacterStreamInternal(Object obj, Joins joins) protected charAbstractResult.getCharInternal(Object obj, Joins joins) protected charResultSetResult.getCharInternal(Object obj, Joins joins) Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.protected ClobAbstractResult.getClobInternal(Object obj, Joins joins) protected ClobResultSetResult.getClobInternal(Object obj, Joins joins) LogicalUnion.UnionSelect.getColumnAlias(String col, Table table, Joins joins) LogicalUnion.UnionSelect.getColumnAlias(Column col, Joins joins) Select.getColumnAlias(String col, Table table, Joins joins) Return the alias for the given column.Select.getColumnAlias(Column col, Joins joins) Return the alias for the given column.SelectImpl.getColumnAlias(String col, Table table, Joins joins) SelectImpl.getColumnAlias(Column col, Joins joins) Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.Return the value stored in the given column.protected DateAbstractResult.getDateInternal(Object obj, Calendar cal, Joins joins) protected DateAbstractResult.getDateInternal(Object obj, Joins joins) protected DateResultSetResult.getDateInternal(Object obj, Calendar cal, Joins joins) protected DateResultSetResult.getDateInternal(Object obj, Joins joins) doubledoubledoubleReturn the value stored in the given column.protected doubleAbstractResult.getDoubleInternal(Object obj, Joins joins) protected doubleResultSetResult.getDoubleInternal(Object obj, Joins joins) floatfloatfloatReturn the value stored in the given column.protected floatAbstractResult.getFloatInternal(Object obj, Joins joins) protected floatResultSetResult.getFloatInternal(Object obj, Joins joins) intintintReturn the value stored in the given column.protected intAbstractResult.getIntInternal(Object obj, Joins joins) protected intResultSetResult.getIntInternal(Object obj, Joins joins) protected InputStreamAbstractResult.getLOBStreamInternal(JDBCStore store, Object obj, Joins joins) protected InputStreamResultSetResult.getLOBStreamInternal(JDBCStore store, Object obj, Joins joins) protected LocalDateAbstractResult.getLocalDateInternal(Object obj, Joins joins) protected LocalDateResultSetResult.getLocalDateInternal(Object obj, Joins joins) protected LocalDateTimeAbstractResult.getLocalDateTimeInternal(Object obj, Joins joins) protected LocalDateTimeResultSetResult.getLocalDateTimeInternal(Object obj, Joins joins) Return the value stored in the given column.protected LocaleAbstractResult.getLocaleInternal(Object obj, Joins joins) protected LocaleResultSetResult.getLocaleInternal(Object obj, Joins joins) protected LocalTimeAbstractResult.getLocalTimeInternal(Object obj, Joins joins) protected LocalTimeResultSetResult.getLocalTimeInternal(Object obj, Joins joins) longlonglongReturn the value stored in the given column.protected longAbstractResult.getLongInternal(Object obj, Joins joins) protected longResultSetResult.getLongInternal(Object obj, Joins joins) Return the value stored in the given column.protected NumberAbstractResult.getNumberInternal(Object obj, Joins joins) protected NumberResultSetResult.getNumberInternal(Object obj, Joins joins) Return the value stored in the given column.protected abstract ObjectAbstractResult.getObjectInternal(Object obj, int metaType, Object arg, Joins joins) Return the value stored in the given id or column.protected ObjectResultSetResult.getObjectInternal(Object obj, int metaTypeCode, Object arg, Joins joins) protected OffsetDateTimeAbstractResult.getOffsetDateTimeInternal(Object obj, Joins joins) protected OffsetDateTimeResultSetResult.getOffsetDateTimeInternal(Object obj, Joins joins) protected OffsetTimeAbstractResult.getOffsetTimeInternal(Object obj, Joins joins) protected OffsetTimeResultSetResult.getOffsetTimeInternal(Object obj, Joins joins) Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.protected RefAbstractResult.getRefInternal(Object obj, Map map, Joins joins) protected RefResultSetResult.getRefInternal(Object obj, Map map, Joins joins) shortshortshortReturn the value stored in the given column.protected shortAbstractResult.getShortInternal(Object obj, Joins joins) protected shortResultSetResult.getShortInternal(Object obj, Joins joins) AbstractResult.getSQLObject(Column col, Map map, Joins joins) MergedResult.getSQLObject(Column col, Map map, Joins joins) Result.getSQLObject(Column col, Map map, Joins joins) Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.protected ObjectAbstractResult.getSQLObjectInternal(Object obj, Map map, Joins joins) protected ObjectResultSetResult.getSQLObjectInternal(Object obj, Map map, Joins joins) protected abstract ObjectAbstractResult.getStreamInternal(JDBCStore store, Object obj, int metaType, Object arg, Joins joins) protected ObjectResultSetResult.getStreamInternal(JDBCStore store, Object obj, int metaTypeCode, Object arg, Joins joins) Return the value stored in the given column.protected StringAbstractResult.getStringInternal(Object obj, Joins joins, boolean isClobString) protected StringResultSetResult.getStringInternal(Object obj, Joins joins, boolean isClobString) Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.protected TimeAbstractResult.getTimeInternal(Object obj, Calendar cal, Joins joins) protected TimeResultSetResult.getTimeInternal(Object obj, Calendar cal, Joins joins) AbstractResult.getTimestamp(Column col, Calendar cal, Joins joins) MergedResult.getTimestamp(Column col, Calendar cal, Joins joins) Result.getTimestamp(Column col, Calendar cal, Joins joins) Return the value stored in the given column; may not be supported by results that are not backed by a SQL result set.protected TimestampAbstractResult.getTimestampInternal(Object obj, Calendar cal, Joins joins) protected TimestampResultSetResult.getTimestampInternal(Object obj, Calendar cal, Joins joins) voidvoidLogicalUnion.UnionSelect.groupBy(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) voidvoidvoidvoidAdd a GROUP BY clause.voidSelect.groupBy(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) Group by the columns of the given mapping, possibly including subclasses.voidGroup by the given columns.voidGroup by the given column.voidAdd a GROUP BY clause.voidvoidSelectImpl.groupBy(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) voidvoidvoidvoidvoidvoidAdd the given having conditions.voidAdd the given having conditions.voidvoidAbstractResult.load(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) MergedResult.load(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) Result.load(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) Load a pc object using the given store manager.SelectImpl.SelectResult.load(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) OR the given joins together.booleanintbooleanbooleanLogicalUnion.UnionSelect.orderBy(SQLBuffer sql, boolean asc, Joins joins, boolean select, Value selAs) booleanAdd an ORDER BY clause.intOrder by the given columns.booleanOrder by the given column.booleanAdd an ORDER BY clause.booleanintbooleanbooleanintLogicalUnion.UnionSelect.orderByPrimaryKey(ClassMapping mapping, boolean asc, Joins joins, boolean select) intSelect.orderByPrimaryKey(ClassMapping mapping, boolean asc, Joins joins, boolean sel) Select and order on the primary key columns of the given mapping, joining to superclasses as necessary to get all columns needed to construct an object id.intSelectImpl.orderByPrimaryKey(ClassMapping mapping, boolean asc, Joins joins, boolean sel) intSelectImpl.orderByPrimaryKey(ClassMapping mapping, boolean asc, Joins joins, boolean sel, boolean aliasOrder) Allow unions to set aliases on order columns.Return a join set making the given joins outer joins.booleanvoidLogicalUnion.UnionSelect.select(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager, Joins joins) intbooleanbooleanbooleanSelect the given SQL; the given id object is an identifier to use when retrieving the corresponding value from aResult.voidSelect.select(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager, Joins joins) Select the columns of the given mapping, possibly including subclasses.intSelect the given columns.booleanSelect the given column.booleanSelect the given SQL; the given id object is an identifier to use when retrieving the corresponding value from aResult.booleanvoidSelectImpl.select(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager, Joins joins) intbooleanbooleanvoidLogicalUnion.UnionSelect.selectIdentifier(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager, Joins joins) intLogicalUnion.UnionSelect.selectIdentifier(Column[] cols, Joins joins) booleanLogicalUnion.UnionSelect.selectIdentifier(Column col, Joins joins) voidSelect.selectIdentifier(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager, Joins joins) Select the columns of the given mapping, possibly including subclasses.intSelect.selectIdentifier(Column[] cols, Joins joins) Select the given columns as ones that can be used to get a count of distinct matches.booleanSelect.selectIdentifier(Column col, Joins joins) Select the given column as one that can be used to get a count of distinct matches.voidSelectImpl.selectIdentifier(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager, Joins joins) intSelectImpl.selectIdentifier(Column[] cols, Joins joins) booleanSelectImpl.selectIdentifier(Column col, Joins joins) intLogicalUnion.UnionSelect.selectPrimaryKey(ClassMapping mapping, Joins joins) intSelect.selectPrimaryKey(ClassMapping mapping, Joins joins) Select the primary key columns of the given mapping, joining to superclasses as necessary to get all columns needed to construct an object id.intSelectImpl.selectPrimaryKey(ClassMapping mapping, Joins joins) voidJoin.setRelation(ClassMapping target, int subs, Joins joins) When joining a relation, set target type and how to deal with subclasses.protected ObjectTranslate the user-given id or column.protected ObjectvoidvoidvoidvoidAdd the given where conditions.voidAdd the given where conditions.voidAdd the given where conditions.voidvoidvoid