128 "sequence" :
"SequenceReverse",
129 "table" :
"TableReverse",
130 "type" :
"TypeReverse",
131 "view" :
"ViewReverse",
132 "mview" :
"MViewReverse",
133 "function" :
"FunctionReverse",
134 "procedure" :
"ProcedureReverse",
135 "package" :
"PackageReverse",
140 "sequences" :
"SequencesReverse",
141 "tables" :
"TablesReverse",
142 "types" :
"TypesReverse",
143 "views" :
"ViewsReverse",
144 "mviews" :
"MViewsReverse",
145 "functions" :
"FunctionsReverse",
146 "procedures" :
"ProceduresReverse",
147 "packages" :
"PackagesReverse",
155 const GenericOptions = ( 159 const IndexOptions = ( 161 "oracle": ("compute_statistics": False,), 165 const ColumnOptions = ( 167 "oracle": ("character_semantics": True,), 171 const SEQUENCES = <SCHEMA_SEQUENCES>; 173 const TABLES = <SCHEMA_TABLES>; 175 const TYPES = <SCHEMA_TYPES>; 177 const VIEWS = <SCHEMA_VIEWS>; 179 const MATERIALIZED_VIEWS = <SCHEMA_MVIEWS>; 181 const FUNCTIONS = <SCHEMA_FUNCTIONS>; 183 const PROCEDURES = <SCHEMA_PROCEDURES>; 185 const PACKAGES = <SCHEMA_PACKAGES>; 188 class <X_SCHEMA_NAME> : public AbstractSchema { 190 const SchemaName = "<X_SCHEMA_NAME>"; 191 const SchemaVersion = "1.0"; 194 constructor(AbstractDatasource ds, *string dts, *string its) ; 199 string getNameImpl(); 205 string getVersionImpl(); 211 *hash getTablesImpl(); 217 *hash getSequencesImpl(); 223 *hash getTypesImpl(); 229 *hash getViewsImpl(); 235 *hash getMaterializedViewsImpl(); 241 *hash getFunctionsImpl(); 247 *hash getProceduresImpl(); 253 *hash getPackagesImpl(); 259 *hash getIndexOptionsImpl(); 265 *hash getGenericOptionsImpl(); 271 *hash getColumnOptionsImpl(); 275 } // class <X_SCHEMA_NAME> 289 AbstractDatasource m_ds;
408 any columnToQore(AbstractColumn c);
438 string m_object_type;
439 string m_function_name;
440 hash<string, bool> m_ignored_keys;
451 AbstractDatasource ds,
453 string function_name,
454 softlist ignored_keys
458 m_object_type = object_type;
459 m_function_name = function_name;
461 m_ignored_keys = map {$1:
True}, ignored_keys;
477 string m_object_type;
478 string m_function_name;
488 AbstractDatasource ds,
490 string function_name,
496 m_object_type = object_type;
497 m_function_name = function_name;
538 :
CodeBaseReverse(
"mview", ds, name,
"getMaterializedView", (
"schema",
"name",
"type"))
648 AbstractDatasource m_ds;
656 constructor(AbstractDatasource ds,
string class_name);
Structure dump of functions.
Definition: SchemaReverse.qm.dox.h:573
constructor(AbstractDatasource ds, string name)
Definition: SchemaReverse.qm.dox.h:511
constructor(string object_type, AbstractDatasource ds, string name, string function_name, softlist ignored_keys)
Definition: SchemaReverse.qm.dox.h:450
constructor(AbstractDatasource ds, string mask=".*")
Definition: SchemaReverse.qm.dox.h:637
this namespace contains all public definitions in the SchemaReverse module
Definition: SchemaReverse.qm.dox.h:124
constructor(string object_type, AbstractDatasource ds, string mask, string function_name,)
Definition: SchemaReverse.qm.dox.h:487
constructor(AbstractDatasource ds, string mask=".*")
Definition: SchemaReverse.qm.dox.h:608
constructor(AbstractDatasource ds, string mask=".*")
Definition: SchemaReverse.qm.dox.h:524
Structure dump of a package.
Definition: SchemaReverse.qm.dox.h:615
constructor(AbstractDatasource ds, string name)
Definition: SchemaReverse.qm.dox.h:334
Structure dump of views.
Definition: SchemaReverse.qm.dox.h:518
Structure dump of a 'type' or 'named type'.
Definition: SchemaReverse.qm.dox.h:362
constructor(AbstractDatasource ds, string name)
Definition: SchemaReverse.qm.dox.h:368
AbstractReverseObject get_object(string object_type)
An universal wrapper to get any of SchemaReverse::AbstractReverseObject instance. ...
abstract any toQore()
Dedicated functionlity to get DB object info into the internal structure is done here.
constructor(AbstractDatasource ds, string name)
Definition: SchemaReverse.qm.dox.h:621
constructor(AbstractDatasource ds, string name)
constructor(AbstractDatasource ds, string name)
Definition: SchemaReverse.qm.dox.h:400
Structure dump of a view.
Definition: SchemaReverse.qm.dox.h:505
constructor(AbstractDatasource ds, string mask=".*")
Definition: SchemaReverse.qm.dox.h:384
A basic class for all DB object classes which use SQL code as base of its content.
Definition: SchemaReverse.qm.dox.h:434
Structure dump of 'types' or 'named types'.
Definition: SchemaReverse.qm.dox.h:378
Structure dump of tables.
Definition: SchemaReverse.qm.dox.h:414
AbstractDatasource datasource()
A basic class for all DB object classes which use SQL code as base of its content.
Definition: SchemaReverse.qm.dox.h:473
Structure dump of materialized views or snapshots.
Definition: SchemaReverse.qm.dox.h:544
Structure dump of a materialized view or snapshot.
Definition: SchemaReverse.qm.dox.h:531
Structure dump of sequences.
Definition: SchemaReverse.qm.dox.h:346
constructor(AbstractDatasource ds, string name)
Definition: SchemaReverse.qm.dox.h:592
Structure dump of a procedure.
Definition: SchemaReverse.qm.dox.h:586
constructor(AbstractDatasource ds, string name)
Definition: SchemaReverse.qm.dox.h:563
Structure dump of a function.
Definition: SchemaReverse.qm.dox.h:557
constructor(AbstractDatasource ds, string mask=".*")
Definition: SchemaReverse.qm.dox.h:352
Structure dump of packages.
Definition: SchemaReverse.qm.dox.h:631
string toString()
Make a string with Qore code from a structure prepared by AbstractReverseObject::toQore().
constructor(AbstractDatasource ds, string mask=".*")
Definition: SchemaReverse.qm.dox.h:420
const MULTI_TO_CLASS
A map translating multi DB objects name into its class.
Definition: SchemaReverse.qm.dox.h:139
Structure dump of a sequence.
Definition: SchemaReverse.qm.dox.h:328
Structure dump of a table.
Definition: SchemaReverse.qm.dox.h:394
A basic class for all SchemaReverse DB object related classes.
Definition: SchemaReverse.qm.dox.h:285
constructor(AbstractDatasource ds, string name)
Definition: SchemaReverse.qm.dox.h:537
constructor(AbstractDatasource ds, string mask=".*")
Definition: SchemaReverse.qm.dox.h:579
Structure dump of procedures.
Definition: SchemaReverse.qm.dox.h:602
const TYPE_TO_CLASS
A map translating simple DB object name into its class.
Definition: SchemaReverse.qm.dox.h:127
const TEMPLATE
A template string for full schema used in SchemaReverse::SchemaReverse class.
Definition: SchemaReverse.qm.dox.h:151
constructor(AbstractDatasource ds, string mask=".*")
Definition: SchemaReverse.qm.dox.h:550