public static class _MySQLPlugIn.MySQLSynchronizationFactory
extends com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory
| Constructor and Description |
|---|
MySQLSynchronizationFactory(com.webobjects.eoaccess.EOAdaptor adaptor) |
| Modifier and Type | Method and Description |
|---|---|
String |
_alterPhraseInsertionClausePrefixAtIndex(int columnIndex) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
_statementsToDropPrimaryKeyConstraintsOnTableNamed(String tableName) |
String |
columnTypeStringForAttribute(EOAttribute attribute) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
dropPrimaryKeySupportStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
foreignKeyConstraintStatementsForRelationship(com.webobjects.eoaccess.EORelationship relationship) |
protected String |
formatColumnName(String name) |
protected String |
formatTableName(String name) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
primaryKeySupportStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
statementsToConvertColumnType(String columnName,
String tableName,
com.webobjects.eoaccess.synchronization.EOSchemaSynchronization.ColumnTypes oldType,
com.webobjects.eoaccess.synchronization.EOSchemaSynchronization.ColumnTypes newType,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
statementsToDeleteColumnNamed(String columnName,
String tableName,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
statementsToInsertColumnForAttribute(EOAttribute attribute,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
statementsToModifyColumnNullRule(String columnName,
String tableName,
boolean allowsNull,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
statementsToRenameColumnNamed(String columnName,
String tableName,
String newName,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
NSArray<com.webobjects.eoaccess.EOSQLExpression> |
statementsToRenameTableNamed(String tableName,
String newName,
com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options) |
boolean |
supportsDirectColumnNullRuleModification() |
boolean |
supportsDirectColumnRenaming() |
boolean |
supportsSchemaSynchronization() |
_allowsNullForColumnNamed, _alterPhraseCoercingColumnsWithNames, _alterPhraseDeletingColumnsWithNames, _alterPhraseInsertingColumnsWithNames, _alterPhraseJoinString, _arePurelyForeignKeyConstraintRelatedChanges, _canConvertColumnOfTypeToTypeOptions, _columnAttributesInEntityGroup, _columnCreationClauseForAttribute, _columnTypeForAttribute, _columnTypeForChangeDictionaryAndAttribute, _columnTypeNamedWithPrecisionScaleAndWidth, _directCoercionsForEntityGroupInTable, _entityGroupInModelForTableNamed, _entityGroupsInModelReferringToTableNamed, _expressionForEntity, _expressionForString, _firstAttributeInEntityGroupWithColumnName, _foreignKeyConstraintStatementsForEntityGroup, _intForExpressionStringAdaptorChannel, _isPoorlyFormedColumnType, _isSignificantExceptionAtIndexOfSynchronizationStatements, _isTableCopyingRequiredByColumnChangesToEntityGroup, _isTableNamed, _nameInObjectStoreForEntityGroupWithChangeDictionary, _namesOfColumnsCoercedInChangeDictionaryForEntityGroup, _nullCountForColumnNamedInTableNamedBeneathModel, _parameterizedTypes, _prettyDictionary, _primaryKeyEntityGroupsForEntityGroups, _rowCountForTableNamedBeneathModel, _schemaCreationStatementsForEntityGroup, _schemaSynchronizationAdaptor, _schemaSynchronizationAdaptorChannelForModel, _schemaSynchronizationCommentsEnabled, _setSchemaSynchronizationCommentsEnabled, _sqlReplacements, _statementsCommentedWithString, _statementsToCreateTableForEntityGroupOptions, _statementsToDeleteTableNamedOptions, _statementsToDirectlyUpdateObjectStoreForEntityGroup, _statementsToIndirectlyUpdateObjectStoreForEntityGroupWithChangeDictionaryOptions, _statementsToUpdateObjectStoreForEntityGroup, _tableNameMapInChangeDictionary, _temporaryNameForTableName, adaptor, appendExpressionToScript, attributeInEntityWithColumnName, columnDescriptionForTableAndModel, createDatabaseStatementsForConnectionDictionary, createIndexExpressionsForEntity, createIndexStatementForEntity, createIndexStatementsForEntityGroup, createIndexStatementsForEntityGroups, createTableStatementsForEntityGroup, createTableStatementsForEntityGroups, dropDatabaseStatementsForConnectionDictionary, dropIndexExpressionsForEntity, dropIndexStatementForEntity, dropIndexStatementsForEntityGroup, dropIndexStatementsForEntityGroups, dropPrimaryKeySupportStatementsForEntityGroup, dropTableStatementsForEntityGroup, dropTableStatementsForEntityGroups, indexDefinitionForEntity, indexDescriptionForTableAndModel, isCaseSensitive, isColumnTypeEquivalentToColumnType, logicalErrorsInChangeDictionaryForModelOptions, newChanges, newOptions, objectStoreChangesFromAttributeToAttribute, phraseCastingColumnNamed, primaryKeyConstraintStatementsForEntityGroup, primaryKeyConstraintStatementsForEntityGroups, primaryKeyEntityGroupsForEntities, primaryKeySupportStatementsForEntityGroup, schemaCreationScriptForEntities, schemaCreationStatementsForEntities, schemaGenerationDelegate, schemaSynchronizationDelegate, setSchemaGenerationDelegate, setSchemaSynchronizationDelegate, statementsToCopyTableNamed, statementsToDropForeignKeyConstraintsOnEntityGroup, statementsToDropForeignKeyConstraintsOnEntityGroups, statementsToDropPrimaryKeyConstraintsOnEntityGroups, statementsToDropPrimaryKeySupportForEntityGroups, statementsToImplementForeignKeyConstraintsOnEntityGroups, statementsToImplementPrimaryKeyConstraintsOnEntityGroups, statementsToImplementPrimaryKeySupportForEntityGroups, statementsToUpdateObjectStoreForEntityGroups, statementsToUpdateObjectStoreForModel, supportsDirectColumnCoercion, supportsDirectColumnDeletion, supportsDirectColumnInsertion, supportsTableDescriptionIntrospection, tableDescriptionForModel, tableEntityGroupsForEntitiespublic MySQLSynchronizationFactory(com.webobjects.eoaccess.EOAdaptor adaptor)
public String _alterPhraseInsertionClausePrefixAtIndex(int columnIndex)
_alterPhraseInsertionClausePrefixAtIndex in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactoryprotected String formatTableName(String name)
formatTableName in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactoryprotected String formatColumnName(String name)
formatColumnName in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToConvertColumnType(String columnName, String tableName, com.webobjects.eoaccess.synchronization.EOSchemaSynchronization.ColumnTypes oldType, com.webobjects.eoaccess.synchronization.EOSchemaSynchronization.ColumnTypes newType, com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options)
statementsToConvertColumnType in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationstatementsToConvertColumnType in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> primaryKeySupportStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups)
primaryKeySupportStatementsForEntityGroups in interface com.webobjects.eoaccess.synchronization.EOSchemaGenerationprimaryKeySupportStatementsForEntityGroups in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToDeleteColumnNamed(String columnName, String tableName, com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options)
statementsToDeleteColumnNamed in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationstatementsToDeleteColumnNamed in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToInsertColumnForAttribute(EOAttribute attribute, com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options)
statementsToInsertColumnForAttribute in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationstatementsToInsertColumnForAttribute in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToModifyColumnNullRule(String columnName, String tableName, boolean allowsNull, com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options)
statementsToModifyColumnNullRule in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationstatementsToModifyColumnNullRule in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic boolean supportsDirectColumnNullRuleModification()
supportsDirectColumnNullRuleModification in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationsupportsDirectColumnNullRuleModification in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToRenameColumnNamed(String columnName, String tableName, String newName, com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options)
statementsToRenameColumnNamed in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationstatementsToRenameColumnNamed in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic boolean supportsDirectColumnRenaming()
supportsDirectColumnRenaming in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationsupportsDirectColumnRenaming in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> dropPrimaryKeySupportStatementsForEntityGroups(NSArray<NSArray<com.webobjects.eoaccess.EOEntity>> entityGroups)
dropPrimaryKeySupportStatementsForEntityGroups in interface com.webobjects.eoaccess.synchronization.EOSchemaGenerationdropPrimaryKeySupportStatementsForEntityGroups in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> _statementsToDropPrimaryKeyConstraintsOnTableNamed(String tableName)
_statementsToDropPrimaryKeyConstraintsOnTableNamed in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> foreignKeyConstraintStatementsForRelationship(com.webobjects.eoaccess.EORelationship relationship)
foreignKeyConstraintStatementsForRelationship in interface com.webobjects.eoaccess.synchronization.EOSchemaGenerationforeignKeyConstraintStatementsForRelationship in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic NSArray<com.webobjects.eoaccess.EOSQLExpression> statementsToRenameTableNamed(String tableName, String newName, com.webobjects.eoaccess.synchronization.EOSchemaGenerationOptions options)
statementsToRenameTableNamed in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationstatementsToRenameTableNamed in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic boolean supportsSchemaSynchronization()
supportsSchemaSynchronization in interface com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationsupportsSchemaSynchronization in class com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactorypublic String columnTypeStringForAttribute(EOAttribute attribute)
Copyright © 2002 – 2020 Project Wonder.