Package | Description |
---|---|
oracle.javatools.db |
Contains a metadata API for describing database objects, and retrieving them from a provider of database objects - for example a database.
|
oracle.javatools.db.ddl |
API for generating DDL in the database API.
|
oracle.javatools.db.extension |
Contains classes for extending the object support that comes as standard in the database api (e.g.
|
oracle.javatools.db.plsql |
Classes for dealing with PL/SQL objects.
|
oracle.javatools.db.util |
Contains java.util.Collection and java.util.Map implementations for listing and mapping instances of DBObject and DBObjectID.
|
Modifier and Type | Method and Description |
---|---|
protected DatabaseDescriptor |
DatabaseDescriptor.getBaseDescriptor()
If this descriptor is a customisation of a base descriptor, this method returns that base descriptor.
|
static DatabaseDescriptor |
DatabaseFactory.getDatabaseDescriptor(java.lang.Class<? extends Database> providerClass)
Returns a DatabaseDescriptor for the given provider class.
|
static DatabaseDescriptor |
DatabaseFactory.getDatabaseDescriptor(Database db)
Returns a DatabaseDescriptor for the given database.
|
DatabaseDescriptor |
DatabaseRegistry.getDatabaseDescriptor(java.lang.String type, int version)
Gets the DatabaseDescriptor for the given type and version.
|
protected abstract DatabaseDescriptor |
DatabaseFactory.DatabaseCreator.getDatabaseDescriptorImpl(java.lang.Class providerClass) |
protected DatabaseDescriptor |
DatabaseFactory.DatabaseCreator.getDatabaseDescriptorImpl(Database db) |
DatabaseDescriptor |
DBObjectProvider.getDescriptor()
Returns the DatabaseDescriptor for this provider
|
DatabaseDescriptor |
AbstractDatabase.getDescriptor() |
Modifier and Type | Method and Description |
---|---|
boolean |
DatabaseDescriptor.isCompatibleWith(DatabaseDescriptor other)
Tests whether all datatypes and features supported in this descriptor are also supported in the target descriptor.
|
boolean |
DatabaseDescriptor.isSameDatabase(DatabaseDescriptor other)
Tests whether the other descriptor is for the same database type and version as this descriptor.
|
void |
DBObjectCriteria.setDatabaseDescriptor(DatabaseDescriptor desc)
By default a DBObjectCriteria will compare names case sensitively, having assumed that they are internalised.
|
Constructor and Description |
---|
DatabaseDescriptor(DatabaseDescriptor base)
Constructs a new descriptor using the given base descriptor.
|
Modifier and Type | Method and Description |
---|---|
void |
TokenDDLGenerator.includeSyntax(DatabaseDescriptor otherDatabase, java.lang.String type, boolean includeAlter)
Includes the ddl syntax from another database type's ddl generator into this ddl generator for a given object type.
|
Constructor and Description |
---|
DelegateDDLGenerator(DDLGenerator base, DatabaseDescriptor desc, java.lang.Class<? extends Database> databaseClass, DBObjectProvider pro)
Constructs a DDLGenerator that will check the DBObjectRegistry for a registered DDLGenerator to delegate to for a given object type, and if there isn't one delegates to the base generator given on construction.
|
Modifier and Type | Method and Description |
---|---|
static PlSqlUtil.TypeAndNameInfo |
PlSqlUtil.getTypeAndNameFromSource(SourceObject so, DatabaseDescriptor dd) |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<java.lang.String> |
NameComparator.createNameSet(DatabaseDescriptor desc, boolean external)
Create a new, empty, set that will use the given descriptor to compare the names added.
|
Constructor and Description |
---|
NameComparator(DatabaseDescriptor desc, boolean external)
Creates a new Comparator for comparing database object names.
|