DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
Package Functions | |
IIndexSet | GetIndexSetForTable (ITableSource tableSource) |
void | RemoveVisibleTable (ITableSource table) |
void | UpdateVisibleTable (TableSource table, IIndexSet indexSet) |
IEnumerable< ITableSource > | GetVisibleTables () |
void | AddVisibleTables (IEnumerable< TableSource > tableSources, IEnumerable< IIndexSet > indexSets) |
Properties | |
ITransaction | Transaction [get, private set] |
ITableSourceComposite | Composite [get, set] |
IEnumerable< IMutableTable > | AccessedTables [get] |
IEnumerable< ITableSource > | SelectedTables [get] |
bool | IgnoreIdentifiersCase [get] |
DbObjectType IObjectManager. | ObjectType [get] |
Properties inherited from Deveel.Data.Sql.IObjectManager | |
DbObjectType | ObjectType [get] |
Gets the type of objects managed by this instance. More... | |
Private Member Functions | |
~TableManager () | |
void | DisposeAllIndices () |
void | DisposeTouchedTables () |
void | Dispose (bool disposing) |
void IObjectManager. | CreateObject (IObjectInfo objInfo) |
Create a new object of the ObjectType given the specifications given. More... | |
void | CopyTable (ITableSource tableSource, IIndexSet indexSet) |
void | AddVisibleTable (ITableSource table, IIndexSet indexSet) |
ITableSource | FindVisibleTable (ObjectName tableName, bool ignoreCase) |
bool | IsDynamicTable (ObjectName tableName) |
ITable | GetDynamicTable (ObjectName tableName) |
string | GetDynamicTableType (ObjectName tableName) |
bool IObjectManager. | RealObjectExists (ObjectName objName) |
Checks if an object really exists in the system. More... | |
bool IObjectManager. | ObjectExists (ObjectName objName) |
Checks if an object identified by the given name is managed by this instance. More... | |
IDbObject IObjectManager. | GetObject (ObjectName objName) |
Gets a database object managed by this manager. More... | |
ObjectName[] | GetDynamicTables () |
TableInfo | GetDynamicTableInfo (ObjectName tableName) |
IMutableTable | CreateTableAtCommit (ITableSource source) |
bool IObjectManager. | AlterObject (IObjectInfo objInfo) |
Modifies an existing object managed, identified by IObjectInfo.FullName component of the given specification, with the format given. More... | |
void | FlushTableCache (ObjectName tableName) |
void | SetIndexSetForTable (ITableSource source, IIndexSet indexSet) |
bool IObjectManager. | DropObject (ObjectName objName) |
Deletes a database object handled by this manager from the system. More... | |
Static Private Member Functions | |
static int | IndexOfTable (IList< ITableSource > sources, int tableId) |
Private Attributes | |
readonly List< ITableSource > | visibleTables |
List< IMutableTable > | accessedTables |
List< ITableSource > | selectedTables |
readonly List< IIndexSet > | tableIndices |
List< ITableContainer > | internalTables |
readonly Dictionary< ObjectName, IMutableTable > | tableCache |
List< object > | cleanupQueue |
Definition at line 27 of file TableManager.cs.
|
inline |
Definition at line 38 of file TableManager.cs.
|
inlineprivate |
Definition at line 53 of file TableManager.cs.
|
inline |
Definition at line 717 of file TableManager.cs.
|
inlineprivate |
Definition at line 307 of file TableManager.cs.
|
inlinepackage |
Definition at line 728 of file TableManager.cs.
|
inlineprivate |
Modifies an existing object managed, identified by IObjectInfo.FullName component of the given specification, with the format given.
objInfo | The object specification used to alter an existing object. |
true
an object was identified and successfully altered, or false
if none database object was found for the unique name given. ArgumentNullException | If the given objInfo object is null . |
ArgumentException | If the type of the object specified (IObjectInfo.ObjectType) is different than the type of objects handled by this manager. |
Implements Deveel.Data.Sql.IObjectManager.
Definition at line 557 of file TableManager.cs.
|
inline |
Definition at line 565 of file TableManager.cs.
|
inline |
Definition at line 713 of file TableManager.cs.
|
inline |
Definition at line 258 of file TableManager.cs.
|
inlineprivate |
Definition at line 277 of file TableManager.cs.
|
inline |
Initializes the manager into the underlying system.
Typically this method generates the tables required to manage the features relative to the objects.
Implements Deveel.Data.Sql.IObjectManager.
Definition at line 135 of file TableManager.cs.
|
inlineprivate |
Create a new object of the ObjectType given the specifications given.
objInfo | The object specifications used to create a new object. |
ArgumentNullException | If the given objInfo is null . |
ArgumentException | If the object type of the specification (IObjectInfo.ObjectType) is different than the ObjectType of this manager. |
Implements Deveel.Data.Sql.IObjectManager.
Definition at line 208 of file TableManager.cs.
|
inline |
Definition at line 216 of file TableManager.cs.
|
inline |
Definition at line 220 of file TableManager.cs.
|
inlineprivate |
Definition at line 546 of file TableManager.cs.
|
inline |
Definition at line 239 of file TableManager.cs.
|
inline |
Definition at line 77 of file TableManager.cs.
|
inlineprivate |
Definition at line 122 of file TableManager.cs.
|
inlineprivate |
Definition at line 82 of file TableManager.cs.
|
inlineprivate |
Definition at line 108 of file TableManager.cs.
|
inlineprivate |
Deletes a database object handled by this manager from the system.
objName | The unique name of the object to be deleted. |
true
if a database object was found with the given unique name and successfully deleted from the system, or false
if none object was found. Implements Deveel.Data.Sql.IObjectManager.
Definition at line 669 of file TableManager.cs.
|
inline |
Definition at line 696 of file TableManager.cs.
|
inlineprivate |
Definition at line 354 of file TableManager.cs.
|
inlineprivate |
Definition at line 653 of file TableManager.cs.
|
inlineprivate |
Definition at line 387 of file TableManager.cs.
|
inlineprivate |
Definition at line 523 of file TableManager.cs.
|
inlineprivate |
Definition at line 469 of file TableManager.cs.
|
inlineprivate |
Definition at line 399 of file TableManager.cs.
|
inlinepackage |
Definition at line 296 of file TableManager.cs.
|
inline |
Definition at line 512 of file TableManager.cs.
|
inlineprivate |
Gets a database object managed by this manager.
objName | The name that uniquely identifies the object to get. |
null
if this manager was not able to map any object to the name specified. Implements Deveel.Data.Sql.IObjectManager.
Definition at line 429 of file TableManager.cs.
|
inline |
Definition at line 433 of file TableManager.cs.
|
inline |
Definition at line 535 of file TableManager.cs.
|
inline |
Definition at line 736 of file TableManager.cs.
|
inline |
Definition at line 456 of file TableManager.cs.
|
inlinepackage |
Definition at line 724 of file TableManager.cs.
|
inlinestaticprivate |
Definition at line 315 of file TableManager.cs.
|
inlineprivate |
Definition at line 380 of file TableManager.cs.
|
inline |
Definition at line 370 of file TableManager.cs.
|
inlineprivate |
Checks if an object identified by the given name is managed by this instance.
objName | The name that uniquely identifies the object. |
Implements Deveel.Data.Sql.IObjectManager.
Definition at line 420 of file TableManager.cs.
|
inlineprivate |
Checks if an object really exists in the system.
objName | The unique name of the object to check. |
true
if an object with the given name concretely exists in the system, or false
otherwise. Implements Deveel.Data.Sql.IObjectManager.
Definition at line 412 of file TableManager.cs.
|
inline |
Definition at line 416 of file TableManager.cs.
|
inlinepackage |
Definition at line 325 of file TableManager.cs.
|
inline |
Normalizes the input object name using the case sensitivity specified.
objName | The input object name, that can be partial or complete, to be normalized to the real name of an object. |
ignoreCase | The case sensitivity specification used to compare the input name with the names of the existing objects handled by this manager. |
null
if the input name was not possible to be resolved. Implements Deveel.Data.Sql.IObjectManager.
Definition at line 673 of file TableManager.cs.
|
inline |
Definition at line 243 of file TableManager.cs.
|
inlineprivate |
Definition at line 657 of file TableManager.cs.
|
inline |
Definition at line 360 of file TableManager.cs.
|
inline |
Definition at line 424 of file TableManager.cs.
|
inline |
Definition at line 487 of file TableManager.cs.
|
inlinepackage |
Definition at line 346 of file TableManager.cs.
|
private |
Definition at line 29 of file TableManager.cs.
|
private |
Definition at line 36 of file TableManager.cs.
|
private |
Definition at line 32 of file TableManager.cs.
|
private |
Definition at line 30 of file TableManager.cs.
|
private |
Definition at line 34 of file TableManager.cs.
|
private |
Definition at line 31 of file TableManager.cs.
|
private |
Definition at line 28 of file TableManager.cs.
|
getpackage |
Definition at line 61 of file TableManager.cs.
|
getsetprivate |
Definition at line 59 of file TableManager.cs.
|
getprivate |
Definition at line 73 of file TableManager.cs.
|
getprivate |
Definition at line 131 of file TableManager.cs.
|
getpackage |
Definition at line 65 of file TableManager.cs.
|
getprivate set |
Definition at line 57 of file TableManager.cs.