
Classes | |
| class | JoinClause |
Public Member Functions | |
| Class | _synchronizationFactoryClass () |
| void | addCreateClauseForAttribute (EOAttribute attribute) |
| String | addEscapeChars (String value) |
| void | addJoinClause (String leftName, String rightName, int semantic) |
| void | addOrderByAttributeOrdering (EOSortOrdering eosortordering) |
| String | assembleDeleteStatementWithQualifier (EOQualifier eoqualifier, String table, String qualifier) |
| String | assembleInsertStatementWithRow (NSDictionary nsdictionary, String table, String columns, String values) |
| String | assembleJoinClause (String leftName, String rightName, int semantic) |
| String | assembleSelectStatementWithAttributes (NSArray attributes, boolean lock, EOQualifier qualifier, NSArray fetchOrder, String selectString, String columnList, String tableList, String whereClause, String joinClause, String orderByClause, String lockClause) |
| String | assembleUpdateStatementWithRow (NSDictionary dictionary, EOQualifier qualifier, String table, String values, String sqlQualifier) |
| String | columnTypeStringForAttribute (EOAttribute attribute) |
| String | escapedString (Object obj) |
| String | externalNameQuoteCharacter () |
| String | formatValueForAttribute (Object obj, EOAttribute eoattribute) |
| FrontbaseExpression (EOEntity eoentity) | |
| String | joinClauseString () |
| String | lockClause () |
| boolean | mustUseBindVariableForAttribute (EOAttribute eoattribute) |
| boolean | shouldUseBindVariableForAttribute (EOAttribute eoattribute) |
| String | sqlStringForAttribute (EOAttribute attribute) |
| String | sqlStringForCaseInsensitiveLike (String value, String column) |
| String | sqlStringForKeyValueQualifier (EOKeyValueQualifier eokeyvaluequalifier) |
| String | sqlStringForSelector (NSSelector qualifierOperator, Object value) |
| boolean | useBindVariables () |
Protected Member Functions | |
| boolean | shouldAllowNull (EOAttribute attribute) |
Package Functions | |
| String | formatBit (NSData data) |
| boolean | hasLOBsToUpdate () |
| NSArray | lobList () |
| EOQualifier | qualifier () |
| void | resetlobList () |
Package Attributes | |
| NSMutableArray | _lobList |
| EOQualifier | _qualifier |
Private Member Functions | |
| void | _appendNotNullConstraintIfNecessary (EOAttribute attribute, StringBuffer sql) |
| EOEntity | entityForKeyPath (String keyPath) |
| String | getTimeZone (java.util.TimeZone tz) |
| boolean | isLOBAttribute (EOAttribute att) |
Private Attributes | |
| NSMutableArray | _alreadyJoined = new NSMutableArray() |
| boolean | _useBindVariables |
| FrontbaseExpression | ( | EOEntity | eoentity | ) |
| void _appendNotNullConstraintIfNecessary | ( | EOAttribute | attribute, | |
| StringBuffer | sql | |||
| ) | [private] |
| Class _synchronizationFactoryClass | ( | ) |
| void addCreateClauseForAttribute | ( | EOAttribute | attribute | ) |
Overridden to not call the super implementation.
| leftName | the table name on the left side of the clause | |
| rightName | the table name on the right side of the clause | |
| semantic | the join semantic |
| void addOrderByAttributeOrdering | ( | EOSortOrdering | eosortordering | ) |
| String assembleDeleteStatementWithQualifier | ( | EOQualifier | eoqualifier, | |
| String | table, | |||
| String | qualifier | |||
| ) |
| String assembleInsertStatementWithRow | ( | NSDictionary | nsdictionary, | |
| String | table, | |||
| String | columns, | |||
| String | values | |||
| ) |
Overridden to construct a valid SQL92 JOIN clause as opposed to the Oracle-like SQL the superclass produces.
| leftName | the table name on the left side of the clause | |
| rightName | the table name on the right side of the clause | |
| semantic | the join semantic |
| String assembleSelectStatementWithAttributes | ( | NSArray | attributes, | |
| boolean | lock, | |||
| EOQualifier | qualifier, | |||
| NSArray | fetchOrder, | |||
| String | selectString, | |||
| String | columnList, | |||
| String | tableList, | |||
| String | whereClause, | |||
| String | joinClause, | |||
| String | orderByClause, | |||
| String | lockClause | |||
| ) |
Overridden to handle correct placements of join conditions and to handle DISTINCT fetches with compareCaseInsensitiveA(De)scending sort orders.
| attributes | the attributes to select | |
| lock | flag for locking rows in the database | |
| qualifier | the qualifier to restrict the selection | |
| fetchOrder | specifies the fetch order | |
| columnList | the SQL columns to be fetched | |
| tableList | the the SQL tables to be fetched | |
| whereClause | the SQL where clause | |
| joinClause | the SQL join clause | |
| orderByClause | the SQL sort order clause | |
| lockClause | the SQL lock clause |
| String assembleUpdateStatementWithRow | ( | NSDictionary | dictionary, | |
| EOQualifier | qualifier, | |||
| String | table, | |||
| String | values, | |||
| String | sqlQualifier | |||
| ) |
| String columnTypeStringForAttribute | ( | EOAttribute | attribute | ) |
| EOEntity entityForKeyPath | ( | String | keyPath | ) | [private] |
Utility that traverses a key path to find the last destination entity
| keyPath | the key path |
| String escapedString | ( | Object | obj | ) |
| String externalNameQuoteCharacter | ( | ) |
| String formatBit | ( | NSData | data | ) | [package] |
| String formatValueForAttribute | ( | Object | obj, | |
| EOAttribute | eoattribute | |||
| ) |
| String getTimeZone | ( | java.util.TimeZone | tz | ) | [private] |
| boolean hasLOBsToUpdate | ( | ) | [package] |
| boolean isLOBAttribute | ( | EOAttribute | att | ) | [private] |
| String joinClauseString | ( | ) |
Overrides the parent implementation to compose the final string expression for the join clauses.
| NSArray lobList | ( | ) | [package] |
| String lockClause | ( | ) |
| boolean mustUseBindVariableForAttribute | ( | EOAttribute | eoattribute | ) |
| EOQualifier qualifier | ( | ) | [package] |
| void resetlobList | ( | ) | [package] |
| boolean shouldAllowNull | ( | EOAttribute | attribute | ) | [protected] |
| boolean shouldUseBindVariableForAttribute | ( | EOAttribute | eoattribute | ) |
| String sqlStringForAttribute | ( | EOAttribute | attribute | ) |
| String sqlStringForKeyValueQualifier | ( | EOKeyValueQualifier | eokeyvaluequalifier | ) |
| String sqlStringForSelector | ( | NSSelector | qualifierOperator, | |
| Object | value | |||
| ) |
| boolean useBindVariables | ( | ) |
NSMutableArray _alreadyJoined = new NSMutableArray() [private] |
Holds array of join clauses.
NSMutableArray _lobList [package] |
EOQualifier _qualifier [package] |
boolean _useBindVariables [private] |
1.5.8