|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DatabaseSchema | |
org.objectweb.cjdbc.controller.backend | Database backend core. |
org.objectweb.cjdbc.controller.cache | Query cache implementations. |
org.objectweb.cjdbc.controller.cache.schema | Database schema management for query caches. |
org.objectweb.cjdbc.controller.requestmanager | Request Manager core including the request parsing cache. |
org.objectweb.cjdbc.controller.scheduler | All C-JDBC schedulers are subpackage of this one which provides the scheduler interface in the AbstractScheduler class. |
org.objectweb.cjdbc.controller.scheduler.raidb1 | RAIDb-1 (full replication) schedulers. |
org.objectweb.cjdbc.controller.scheduler.schema | Database schema handling for schedulers. |
org.objectweb.cjdbc.controller.virtualdatabase | Virtual database core code including connection handling. |
org.objectweb.cjdbc.controller.xml | XML configuration file parsing and handling. |
org.objectweb.cjdbc.sql | SQL requests that are sent from the C-JDBC driver to the C-JDBC controller. |
org.objectweb.cjdbc.sql.schema | Database schema handling for parsing SQL requests. |
Uses of DatabaseSchema in org.objectweb.cjdbc.controller.backend |
Fields in org.objectweb.cjdbc.controller.backend declared as DatabaseSchema | |
private DatabaseSchema |
DatabaseBackendMetaData.databaseSchema
Schema of the database backend. |
private DatabaseSchema |
DatabaseBackend.schema
The schema of the database. |
Methods in org.objectweb.cjdbc.controller.backend that return DatabaseSchema | |
DatabaseSchema |
DatabaseBackendMetaData.getDatabaseSchema()
Returns the database schema. |
DatabaseSchema |
DatabaseBackend.getDatabaseSchema()
Returns the schema of this database. |
Methods in org.objectweb.cjdbc.controller.backend with parameters of type DatabaseSchema | |
private void |
DatabaseBackendMetaData.getProcedures(java.sql.DatabaseMetaData metaData,
DatabaseSchema schema)
|
void |
DatabaseBackend.setDatabaseSchema(DatabaseSchema databaseSchema,
boolean isStatic)
Sets the database schema. |
Uses of DatabaseSchema in org.objectweb.cjdbc.controller.cache |
Methods in org.objectweb.cjdbc.controller.cache with parameters of type DatabaseSchema | |
private void |
QueryCacheDB.initQueryCache(int cacheGranularity,
DatabaseSchema dbs)
|
void |
QueryCache.setDatabaseSchema(DatabaseSchema dbs)
Sets the DatabaseSchema of the current virtual database. |
void |
QueryCache.mergeDatabaseSchema(DatabaseSchema dbs)
Merge the given DatabaseSchema with the current one. |
void |
AbstractRequestCache.setDatabaseSchema(DatabaseSchema dbs)
Sets the DatabaseSchema of the current virtual database. |
void |
AbstractRequestCache.mergeDatabaseSchema(DatabaseSchema dbs)
Merge the given DatabaseSchema with the current one. |
Constructors in org.objectweb.cjdbc.controller.cache with parameters of type DatabaseSchema | |
QueryCacheDB(int cacheGranularity,
java.lang.String driver,
java.lang.String url,
java.lang.String user,
java.lang.String password,
DatabaseSchema dbs)
Creates a new Cache instance and connect to the given cache
database. |
Uses of DatabaseSchema in org.objectweb.cjdbc.controller.cache.schema |
Constructors in org.objectweb.cjdbc.controller.cache.schema with parameters of type DatabaseSchema | |
CacheDatabaseSchema(DatabaseSchema dbs)
Creates a new CacheDatabaseSchema instance by cloning an
existing DatabaseSchema . |
Uses of DatabaseSchema in org.objectweb.cjdbc.controller.requestmanager |
Fields in org.objectweb.cjdbc.controller.requestmanager declared as DatabaseSchema | |
private DatabaseSchema |
ParserThread.dbs
|
private DatabaseSchema |
RequestManager.dbs
|
Methods in org.objectweb.cjdbc.controller.requestmanager that return DatabaseSchema | |
DatabaseSchema |
RequestManager.getDatabaseSchema()
Get the DatabaseSchema used by this Request Manager. |
Methods in org.objectweb.cjdbc.controller.requestmanager with parameters of type DatabaseSchema | |
void |
RequestManager.setDatabaseSchema(DatabaseSchema schema,
boolean isStatic)
Sets the DatabaseSchema to be able to parse
the requests and find dependencies. |
void |
RequestManager.mergeDatabaseSchema(DatabaseSchema backendSchema)
Merge the given schema with the existing database schema. |
Constructors in org.objectweb.cjdbc.controller.requestmanager with parameters of type DatabaseSchema | |
ParserThread(AbstractRequest request,
DatabaseSchema dbs,
int granularity,
boolean isCaseSensitive)
Creates a new ParserThread |
Uses of DatabaseSchema in org.objectweb.cjdbc.controller.scheduler |
Methods in org.objectweb.cjdbc.controller.scheduler with parameters of type DatabaseSchema | |
void |
AbstractScheduler.setDatabaseSchema(DatabaseSchema dbs)
Sets the DatabaseSchema of the current virtual database.
|
void |
AbstractScheduler.mergeDatabaseSchema(DatabaseSchema dbs)
Merge the given DatabaseSchema with the current one. |
Uses of DatabaseSchema in org.objectweb.cjdbc.controller.scheduler.raidb1 |
Methods in org.objectweb.cjdbc.controller.scheduler.raidb1 with parameters of type DatabaseSchema | |
void |
RAIDb1OptimisticTransactionLevelScheduler.setDatabaseSchema(DatabaseSchema dbs)
Sets the DatabaseSchema of the current virtual database.
|
void |
RAIDb1OptimisticTransactionLevelScheduler.mergeDatabaseSchema(DatabaseSchema dbs)
Merge the given DatabaseSchema with the current one. |
Uses of DatabaseSchema in org.objectweb.cjdbc.controller.scheduler.schema |
Constructors in org.objectweb.cjdbc.controller.scheduler.schema with parameters of type DatabaseSchema | |
SchedulerDatabaseSchema(DatabaseSchema schema)
Creates a new SchedulerDatabaseSchema instance
by cloning an existing DatabaseSchema . |
Uses of DatabaseSchema in org.objectweb.cjdbc.controller.virtualdatabase |
Methods in org.objectweb.cjdbc.controller.virtualdatabase that return DatabaseSchema | |
private DatabaseSchema |
VirtualDatabaseMetaData.getDatabaseSchema()
|
DatabaseSchema |
VirtualDatabase.getDatabaseSchemaFromActiveBackends()
Get the current database schema from merging the schemas of all active backends. |
Methods in org.objectweb.cjdbc.controller.virtualdatabase with parameters of type DatabaseSchema | |
void |
VirtualDatabase.setDatabaseSchema(DatabaseSchema schema,
boolean isStatic)
Sets a new database schema for this database if no one exist or merge the given schema to the existing one. |
Uses of DatabaseSchema in org.objectweb.cjdbc.controller.xml |
Fields in org.objectweb.cjdbc.controller.xml declared as DatabaseSchema | |
private DatabaseSchema |
DatabasesHandler.currentDatabaseSchema
|
Uses of DatabaseSchema in org.objectweb.cjdbc.sql |
Methods in org.objectweb.cjdbc.sql with parameters of type DatabaseSchema | |
void |
InsertRequest.parse(DatabaseSchema schema,
int granularity,
boolean isCaseSensitive)
TODO: extraction of the selected columns |
void |
UnknownRequest.parse(DatabaseSchema schema,
int granularity,
boolean isCaseSensitive)
Throws always an SQLException : it is not possible
to parse an unknown request because we don't know its syntax or semantic. |
void |
DropRequest.parse(DatabaseSchema schema,
int granularity,
boolean isCaseSensitive)
|
void |
DeleteRequest.parse(DatabaseSchema schema,
int granularity,
boolean isCaseSensitive)
Parses the SQL request and extracts the selected columns and tables given the DatabaseSchema of the database
targeted by this request.
|
private java.util.ArrayList |
DeleteRequest.getFromTables(java.lang.String fromClause,
DatabaseSchema dbs)
Extracts the tables from the given FROM clause and retrieves
their alias if any. |
void |
UpdateRequest.parse(DatabaseSchema schema,
int granularity,
boolean isCaseSensitive)
Parses the SQL request and extract the selected columns and tables given the DatabaseSchema of the database targeted by this request.
|
void |
CreateRequest.parse(DatabaseSchema schema,
int granularity,
boolean isCaseSensitive)
|
void |
SelectRequest.parse(DatabaseSchema schema,
int granularity,
boolean isCaseSensitive)
The result of the parsing is accessible through the SelectRequest.getSelect() , SelectRequest.getFrom() and SelectRequest.getWhere()
functions. |
private java.util.ArrayList |
SelectRequest.getFromTables(java.lang.String fromClause,
DatabaseSchema schema,
boolean isCaseSensitive)
Extracts the tables from the given FROM clause and retrieves
their alias if any. |
abstract void |
AbstractRequest.parse(DatabaseSchema schema,
int granularity,
boolean isCaseSensitive)
Parses the SQL request and extract the selected columns and tables given the DatabaseSchema of the database
targeted by this request.
|
void |
StoredProcedure.parse(DatabaseSchema schema,
int granularity,
boolean isCaseSensitive)
Always throws a SQLException : it is useless to parse
a stored procedure call since we can't know which tables are affected
by this procedure. |
Constructors in org.objectweb.cjdbc.sql with parameters of type DatabaseSchema | |
InsertRequest(java.lang.String sqlQuery,
boolean escapeProcessing,
int timeout,
DatabaseSchema schema,
int granularity,
boolean isCaseSensitive)
Creates a new InsertRequest instance. |
|
DropRequest(java.lang.String sqlQuery,
boolean escapeProcessing,
int timeout,
DatabaseSchema schema,
int granularity,
boolean isCaseSensitive)
Creates a new DropRequest instance. |
|
DeleteRequest(java.lang.String sqlQuery,
boolean escapeProcessing,
int timeout,
DatabaseSchema schema,
int granularity,
boolean isCaseSensitive)
Creates a new DeleteRequest instance. |
|
UpdateRequest(java.lang.String sqlQuery,
boolean escapeProcessing,
int timeout,
DatabaseSchema schema,
int granularity,
boolean isCaseSensitive)
Creates a new UpdateRequest instance. |
|
CreateRequest(java.lang.String sqlQuery,
boolean escapeProcessing,
int timeout,
DatabaseSchema schema,
int granularity,
boolean isCaseSensitive)
Creates a new CreateRequest instance. |
|
SelectRequest(java.lang.String sqlQuery,
boolean escapeProcessing,
int timeout,
DatabaseSchema schema,
int granularity,
boolean isCaseSensitive)
Creates a new SelectRequest instance. |
Uses of DatabaseSchema in org.objectweb.cjdbc.sql.schema |
Methods in org.objectweb.cjdbc.sql.schema with parameters of type DatabaseSchema | |
void |
DatabaseSchema.mergeSchema(DatabaseSchema databaseSchema)
Merges the given schema with the current one. |
boolean |
DatabaseSchema.isCompatibleSubset(DatabaseSchema other)
Checks if this DatabaseSchema is a compatible subset of a
given schema. |
Constructors in org.objectweb.cjdbc.sql.schema with parameters of type DatabaseSchema | |
DatabaseSchema(DatabaseSchema schema)
Creates a new DatabaseSchema instance from an existing
database schema (the schema is cloned). |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |