eagerClone(FieldMapping key,
int eagerType,
boolean toMany,
int sels)
Return a select that will be eagerly executed with this one, or null if
the select cannot be created for the given key and join type.

orderByPrimaryKey(ClassMapping mapping,
boolean asc,
boolean select)
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.

int

orderByPrimaryKey(ClassMapping mapping,
boolean asc,
Joins joins,
boolean select)
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.

getIdentifierAliases

Get the aliases for identifier columns that can be used in COUNT
selects to find the number of matches. Each alias will be a
string. If no identifier columns have been nominated, then all
column alises are returned.

selectIdentifier

Select the given column as one that can be used to get a count of
distinct matches. It is not necessary to designate distinct identifiers
when eagerly traversing the entire result of the select or when
not using an LRSSize setting of count.

selectIdentifier

Select the given column as one that can be used to get a count of
distinct matches. It is not necessary to designate distinct identifiers
when eagerly traversing the entire result of the select or when
not using an LRSSize setting of count.

selectIdentifier

Select the given columns as ones that can be used to get a count of
distinct matches. It is not necessary to designate distinct identifiers
when eagerly traversing the entire result of the select or when
not using an LRSSize setting of count.

selectIdentifier

Select the given columns as ones that can be used to get a count of
distinct matches. It is not necessary to designate distinct identifiers
when eagerly traversing the entire result of the select or when
not using an LRSSize setting of count.

selectIdentifier

Select the columns of the given mapping, possibly including subclasses.
This method should be called after all where conditions are added in
case the given mapping batches other selects.
The primary key columns of the mapping can be used to get a count of
distinct matches. It is not necessary to designate distinct identifiers
when eagerly traversing the entire result of the select or when
not using an LRSSize setting of count.

selectIdentifier

Select the columns of the given mapping, possibly including subclasses.
This method should be called after all where conditions are added in
case the given mapping batches other selects.
The primary key columns of the mapping can be used to get a count of
distinct matches. It is not necessary to designate distinct identifiers
when eagerly traversing the entire result of the select or when
not using an LRSSize setting of count.

orderByPrimaryKey

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.
Optionally selects ordering data if not already selected.

orderByPrimaryKey

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.
Optionally selects ordering data if not already selected.

wherePrimaryKey

Add where conditions setting the mapping's primary key to the given
oid values. If the given mapping does not use oid values for its
primary key, we will recursively join to its superclass until we find
an ancestor that does.

eagerClone

Return a select that will be eagerly executed with this one, or null if
the select cannot be created for the given key and join type.
If the join type is inner or outer, then this select instance will be
returned. Otherwise, the returned select will have a clone of this
select's where conditions and joins but will be independent.