ERXExistsQualifier.ExistsQualifierSQLGenerationSupport Class Reference
List of all members.
Detailed Description
Implements the SQL generation for the exists qualifier.
Constructor & Destructor Documentation
Member Function Documentation
| EOQualifier qualifierMigratedFromEntityRelationshipPath |
( |
EOQualifier |
qualifier, |
|
|
EOEntity |
entity, |
|
|
String |
relationshipPath | |
|
) |
| | |
Implementation of the EOQualifierSQLGeneration interface. Just clones the qualifier.
- Parameters:
-
| qualifier | to migrate |
| entity | to which the qualifier should be migrated |
| relationshipPath | upon which to base the migration |
- Returns:
- clone of the current qualifier
| EOQualifier schemaBasedQualifierWithRootEntity |
( |
EOQualifier |
qualifier, |
|
|
EOEntity |
entity | |
|
) |
| | |
Implementation of the EOQualifierSQLGeneration interface. Just clones the qualifier.
- Parameters:
-
- Returns:
- clone of the current qualifier
| String sqlStringForAttributeNamedInExpression |
( |
String |
name, |
|
|
EOSQLExpression |
expression | |
|
) |
| | [private] |
Gets the sql string for the named attribute using the provided expression. The difference between this and the standard EOSQLExpression#sqlStringForAttributeNamed is this one can handle an "attribute" name that ends in a EORelationship rather than an actual EOAttribute. This is necessary to support the ERXExistsQualifier#baseKeyPath syntax (being the relationship path to the entity to which the subqualifier will be applied) chosen for this qualifier.
- Parameters:
-
| name | of the attribute to get, e.g., department.division |
| expression | to use when generating the SQL |
- Returns:
- the SQL string for the attribute
| String sqlStringForSQLExpression |
( |
EOQualifier |
qualifier, |
|
|
EOSQLExpression |
expression | |
|
) |
| | |
Generates the EXISTS SQL string for the given SQL expression. The bulk of the logic for generating the sub-query is in this method.
- Parameters:
-
| qualifier | for which to generate the SQL |
| expression | to use during SQL generation |
- Returns:
- SQL string for the current sub-query
The documentation for this class was generated from the following file: