| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private static SnapshotGeneratorFactory |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public DatabaseSnapshot | |
| public DatabaseSnapshot | Returns: a database snapshot that includes all objects matching the specificationan array of CatalogAndSchema objects examples, Database the database to work on database, SnapshotControl the options/settings for snapshot generation snapshotControl)Creates a database snapshot for a given array of catalog/schema combinations. |
| public DatabaseSnapshot | Returns: a database snapshot that includes all objects matching the specificationan array of DatabaseObjects objects examples, Database the database to work on database, SnapshotControl the options/settings for snapshot generation snapshotControl)Creates a database snapshot for a given array of DatabaseObjects |
| public < the type of the object (must extend DatabaseObject) T extends DatabaseObject> T | Returns: the snapshot of the desired objectthe object to snapshot example, Database the database to work on database)Creates a DatabaseSnapshot for a single DatabaseObject. |
| public < the type of the object (must extend DatabaseObject) T extends DatabaseObject> T | Returns: the snapshot of the desired objectthe object to snapshot example, Database the database to work on database, SnapshotControl the options/settings for snapshot generation snapshotControl)Creates a DatabaseSnapshot for a single DatabaseObject. |
| public Set | |
| private void | getContainerTypes(Class<? extends DatabaseObject> type, Database database, Set<Class<? extends DatabaseObject>> returnSet)
|
| public Table | |
| public Table | |
| protected SortedSet | |
| public static synchronized SnapshotGeneratorFactory | |
| public boolean | Returns: true if object existence can be confirmed, false otherwiseThe DatabaseObject to check for existence example, Database The DBMS in which the object might exist database)Checks if a specific object is present in a database |
| public boolean | |
| public boolean | |
| public void | |
| public static synchronized void | |
| public static synchronized void | |
| public void | |
| public void |
| generators | back to summary |
|---|---|
| private final List<SnapshotGenerator> generators | |
| instance | back to summary |
|---|---|
| private static SnapshotGeneratorFactory instance | |
| SnapshotGeneratorFactory | back to summary |
|---|---|
| protected SnapshotGeneratorFactory() | |
| createSnapshot | back to summary |
|---|---|
| public DatabaseSnapshot createSnapshot(CatalogAndSchema example, Database database, SnapshotControl snapshotControl) throws DatabaseException, InvalidExampleException | |
| createSnapshot | back to summary |
|---|---|
| public DatabaseSnapshot createSnapshot(CatalogAndSchema[] examples, Database database, SnapshotControl snapshotControl) throws DatabaseException, InvalidExampleException Creates a database snapshot for a given array of catalog/schema combinations.
| |
| createSnapshot | back to summary |
|---|---|
| public DatabaseSnapshot createSnapshot(DatabaseObject[] examples, Database database, SnapshotControl snapshotControl) throws DatabaseException, InvalidExampleException Creates a database snapshot for a given array of DatabaseObjects
| |
| createSnapshot | back to summary |
|---|---|
| public <T extends DatabaseObject> T createSnapshot(T example, Database database) throws DatabaseException, InvalidExampleException Creates a DatabaseSnapshot for a single DatabaseObject.
| |
| createSnapshot | back to summary |
|---|---|
| public <T extends DatabaseObject> T createSnapshot(T example, Database database, SnapshotControl snapshotControl) throws DatabaseException, InvalidExampleException Creates a DatabaseSnapshot for a single DatabaseObject.
| |
| getContainerTypes | back to summary |
|---|---|
| public Set | |
| getContainerTypes | back to summary |
|---|---|
| private void getContainerTypes(Class<? extends DatabaseObject> type, Database database, Set<Class<? extends DatabaseObject>> returnSet) | |
| getDatabaseChangeLogLockTable | back to summary |
|---|---|
| public Table getDatabaseChangeLogLockTable(Database database) throws DatabaseException | |
| getDatabaseChangeLogTable | back to summary |
|---|---|
| public Table getDatabaseChangeLogTable(SnapshotControl snapshotControl, Database database) throws DatabaseException | |
| getGenerators | back to summary |
|---|---|
| protected SortedSet | |
| getInstance | back to summary |
|---|---|
| public static synchronized SnapshotGeneratorFactory getInstance() Return singleton SnapshotGeneratorFactory | |
| has | back to summary |
|---|---|
| public boolean has(DatabaseObject example, Database database) throws DatabaseException, InvalidExampleException Checks if a specific object is present in a database
| |
| hasDatabaseChangeLogLockTable | back to summary |
|---|---|
| public boolean hasDatabaseChangeLogLockTable(Database database) throws DatabaseException | |
| hasDatabaseChangeLogTable | back to summary |
|---|---|
| public boolean hasDatabaseChangeLogTable(Database database) throws DatabaseException | |
| register | back to summary |
|---|---|
| public void register(SnapshotGenerator generator) | |
| reset | back to summary |
|---|---|
| public static synchronized void reset() | |
| resetAll | back to summary |
|---|---|
| public static synchronized void resetAll() | |
| unregister | back to summary |
|---|---|
| public void unregister(SnapshotGenerator generator) | |
| unregister | back to summary |
|---|---|
| public void unregister(Class<T> generatorClass) | |