Index
All Classes and Interfaces|All Packages
A
- addDatabasePlatform(DatabasePlatform, String) - Method in interface io.ebean.dbmigration.DbMigration
-
Add a databasePlatform to write the migration DDL.
- addPlatform(Platform) - Method in interface io.ebean.dbmigration.DbMigration
-
Add a platform to write the migration DDL.
- addPlatform(Platform, String) - Method in interface io.ebean.dbmigration.DbMigration
-
Add a platform to write with a given prefix.
B
- buildExtra(Platform, boolean) - Static method in class io.ebeaninternal.extraddl.model.ExtraDdlXmlReader
-
Return the combined extra DDL that should be run given the platform name.
- buildPartitioning(Platform) - Static method in class io.ebeaninternal.extraddl.model.ExtraDdlXmlReader
-
Return any extra DDL for supporting partitioning given the database platform.
C
- create() - Static method in interface io.ebean.dbmigration.DbMigration
-
Create a DbMigration implementation to use.
- createDdlScript() - Method in class io.ebeaninternal.extraddl.model.ObjectFactory
-
Create an instance of
DdlScript - createExtraDdl() - Method in class io.ebeaninternal.extraddl.model.ObjectFactory
-
Create an instance of
ExtraDdl
D
- DbMigration - Interface in io.ebean.dbmigration
-
Generates DDL migration scripts based on changes to the current model.
- ddlScript - Variable in class io.ebeaninternal.extraddl.model.ExtraDdl
- DdlScript - Class in io.ebeaninternal.extraddl.model
-
Java class for anonymous complex type.
- DdlScript() - Constructor for class io.ebeaninternal.extraddl.model.DdlScript
- drop - Variable in class io.ebeaninternal.extraddl.model.DdlScript
E
- Example: Generate for "pending drops" (drop column changes) - Search tag in io.ebean.dbmigration.DbMigration.generateMigration()
- Section
- Example: Generate for pending drops - Search tag in interface io.ebean.dbmigration.DbMigration
- Section
- Example: Run for a single specific platform - Search tag in interface io.ebean.dbmigration.DbMigration
- Section
- Example: Run for a single specific platform - Search tag in io.ebean.dbmigration.DbMigration.generateMigration()
- Section
- Example: Run migration generating DDL for multiple platforms - Search tag in io.ebean.dbmigration.DbMigration.generateMigration()
- Section
- ExtraDdl - Class in io.ebeaninternal.extraddl.model
-
Java class for anonymous complex type.
- ExtraDdl() - Constructor for class io.ebeaninternal.extraddl.model.ExtraDdl
- ExtraDdlXmlReader - Class in io.ebeaninternal.extraddl.model
-
Read ExtraDdl from an XML document.
- ExtraDdlXmlReader() - Constructor for class io.ebeaninternal.extraddl.model.ExtraDdlXmlReader
G
- generateInitMigration() - Method in interface io.ebean.dbmigration.DbMigration
-
Generate an "init" migration which has all changes.
- generateMigration() - Method in interface io.ebean.dbmigration.DbMigration
-
Generate the next migration sql script and associated model xml.
- getDdlScript() - Method in class io.ebeaninternal.extraddl.model.ExtraDdl
-
Gets the value of the ddlScript property.
- getName() - Method in class io.ebeaninternal.extraddl.model.DdlScript
-
Gets the value of the name property.
- getPendingDrops() - Method in interface io.ebean.dbmigration.DbMigration
-
Return the list of versions that contain pending drops.
- getPlatforms() - Method in class io.ebeaninternal.extraddl.model.DdlScript
-
Gets the value of the platforms property.
- getValue() - Method in class io.ebeaninternal.extraddl.model.DdlScript
-
Gets the value of the value property.
I
- init - Variable in class io.ebeaninternal.extraddl.model.DdlScript
- io.ebean.dbmigration - package io.ebean.dbmigration
-
Generates DDL migration scripts based on changes to the model.
- io.ebean.ddl.generator - module io.ebean.ddl.generator
- io.ebeaninternal.extraddl.model - package io.ebeaninternal.extraddl.model
- isDrop() - Method in class io.ebeaninternal.extraddl.model.DdlScript
-
Return if this a drop script.
- isInit() - Method in class io.ebeaninternal.extraddl.model.DdlScript
-
Return if this a init script.
M
- migrationDirectory() - Method in interface io.ebean.dbmigration.DbMigration
-
Return the main migration directory.
N
O
- ObjectFactory - Class in io.ebeaninternal.extraddl.model
-
This object contains factory methods for each Java content interface and Java element interface generated in the io.ebeaninternal.extraddl.model package.
- ObjectFactory() - Constructor for class io.ebeaninternal.extraddl.model.ObjectFactory
-
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: io.ebeaninternal.extraddl.model
P
R
- read() - Static method in class io.ebeaninternal.extraddl.model.ExtraDdlXmlReader
-
Read the extra ddl.
- read(InputStream) - Static method in class io.ebeaninternal.extraddl.model.ExtraDdlXmlReader
-
Read and return a ExtraDdl from an xml document.
- readBuiltin() - Static method in class io.ebeaninternal.extraddl.model.ExtraDdlXmlReader
-
Read the builtin extra ddl.
- readBuiltinTablePartitioning() - Static method in class io.ebeaninternal.extraddl.model.ExtraDdlXmlReader
-
Read the builtin extra ddl to support table partitioning.
S
- setAddForeignKeySkipCheck(boolean) - Method in interface io.ebean.dbmigration.DbMigration
-
Set to true if ALTER TABLE ADD FOREIGN KEY should be generated with an option to skip validation.
- setApplyPrefix(String) - Method in interface io.ebean.dbmigration.DbMigration
-
Set the prefix for the version.
- setDrop(boolean) - Method in class io.ebeaninternal.extraddl.model.DdlScript
-
Sets that this is a drop script.
- setGeneratePendingDrop(String) - Method in interface io.ebean.dbmigration.DbMigration
-
Generate a migration for the version specified that contains pending drops.
- setHeader(String) - Method in interface io.ebean.dbmigration.DbMigration
-
Set the header that is included in the generated DDL script.
- setIncludeBuiltInPartitioning(boolean) - Method in interface io.ebean.dbmigration.DbMigration
-
Set this to false to exclude the builtin support for table partitioning (with @DbPartition).
- setIncludeGeneratedFileComment(boolean) - Method in interface io.ebean.dbmigration.DbMigration
-
Set to true to include a generated header comment in the DDL script.
- setIncludeIndex(boolean) - Method in interface io.ebean.dbmigration.DbMigration
-
Set to include generation of the index migration file.
- setInit(boolean) - Method in class io.ebeaninternal.extraddl.model.DdlScript
-
Sets that this is a init script.
- setLockTimeout(int) - Method in interface io.ebean.dbmigration.DbMigration
-
Set the lock timeout to be included with the DDL generation.
- setLogToSystemOut(boolean) - Method in interface io.ebean.dbmigration.DbMigration
-
Set logging to System out (defaults to true).
- setMigrationPath(String) - Method in interface io.ebean.dbmigration.DbMigration
-
Set the path where migrations are generated to (which defaults to "dbmigration").
- setName(String) - Method in interface io.ebean.dbmigration.DbMigration
-
Set the name of the migration to be generated.
- setName(String) - Method in class io.ebeaninternal.extraddl.model.DdlScript
-
Sets the value of the name property.
- setPathToResources(String) - Method in interface io.ebean.dbmigration.DbMigration
-
Set the path from the current working directory to the application resources.
- setPlatform(Platform) - Method in interface io.ebean.dbmigration.DbMigration
-
Set the specific platform to generate DDL for.
- setPlatform(DatabasePlatform) - Method in interface io.ebean.dbmigration.DbMigration
-
Set the specific platform to generate DDL for.
- setPlatforms(String) - Method in class io.ebeaninternal.extraddl.model.DdlScript
-
Sets the value of the platforms property.
- setServer(Database) - Method in interface io.ebean.dbmigration.DbMigration
-
Set the server to use to determine the current model.
- setServerConfig(DatabaseBuilder) - Method in interface io.ebean.dbmigration.DbMigration
-
Set the DatabaseConfig to use.
- setStrictMode(boolean) - Method in interface io.ebean.dbmigration.DbMigration
-
Set to false in order to turn off strict mode.
- setValue(String) - Method in class io.ebeaninternal.extraddl.model.DdlScript
-
Sets the value of the value property.
- setVersion(String) - Method in interface io.ebean.dbmigration.DbMigration
-
Set the version of the migration to be generated.
V
A B C D E G I M N O P R S VAll Classes and Interfaces|All Packages