
Public Member Functions | |
| AddField (TZFieldRef FieldRef) | |
| Adds a new field to this select schema. | |
| AddTable (TZTableRef TableRef) | |
| Adds a new table to this select schema. | |
| IZInterface | Clone () |
| Clones an object instance. | |
| DeleteField (TZFieldRef FieldRef) | |
| Deletes a field from this select schema. | |
| Boolean | Equals (const IZInterface Value) |
| TZFieldRef | FindFieldByShortName (const string Field) |
| Finds a field reference by field name or field alias. | |
| TZTableRef | FindTableByFullName (const string Catalog, const string Schema, const string Table) |
| Finds a table reference by catalog and table name. | |
| TZTableRef | FindTableByShortName (const string Table) |
| Finds a table reference by table name or table alias. | |
| TZFieldRef | GetField (Integer Index) |
| Gets a field reference by index. | |
| Integer | GetFieldCount () |
| Gets a count of field references. | |
| TZTableRef | GetTable (Integer Index) |
| Gets a table reference by index. | |
| Integer | GetTableCount () |
| Gets a count of table references. | |
| LongInt | Hash () |
| Gets a unique hash for this object. | |
| InsertField (Integer Index, TZFieldRef FieldRef) | |
| Inserts a new field to this select schema. | |
| Boolean | InstanceOf (const TGUID IId) |
| Checks is this object implements a specified interface. | |
| TZFieldRef | LinkFieldByIndexAndShortName (Integer ColumnIndex, const string Field) |
| Links a field reference by index and/or field name or field alias. | |
| LinkReferences (IZIdentifierConvertor Convertor) | |
| Links references between fields and tables. | |
| string | ToString () |
| Converts this object into the string representation. | |
| TZSelectSchema () | |
| Constructs this assembly object and assignes the main properties. | |
| ~TZSelectSchema () | |
| Destroys this object and cleanups the memory. | |
Public Attributes | |
| Integer | FieldCount |
| TZFieldRef | Fields |
| Integer | TableCount |
| TZTableRef | Tables |
Private Member Functions | |
| ConvertIdentifiers (IZIdentifierConvertor Convertor) | |
| Convert all table and field identifiers. | |
Private Attributes | |
| TObjectList | FFields |
| TObjectList | FTables |
Definition at line 274 of file ZSelectSchema.pas.
| TZSelectSchema::TZSelectSchema | ( | ) |
Constructs this assembly object and assignes the main properties.
Definition at line 451 of file ZSelectSchema.pas.
| TZSelectSchema::~TZSelectSchema | ( | ) |
| TZSelectSchema::AddField | ( | TZFieldRef | FieldRef | ) |
Adds a new field to this select schema.
| FieldRef | a field reference object. |
Reimplemented from IZSelectSchema.
Definition at line 741 of file ZSelectSchema.pas.
| TZSelectSchema::AddTable | ( | TZTableRef | TableRef | ) |
Adds a new table to this select schema.
| TableRef | a table reference object. |
Reimplemented from IZSelectSchema.
Definition at line 782 of file ZSelectSchema.pas.
| IZInterface TZAbstractObject::Clone | ( | ) | [inherited] |
Clones an object instance.
Reimplemented from IZObject.
Reimplemented in TZCollection, TZUnmodifiableCollection, TZHashMap, TZStack, and TZAnyValue.
Definition at line 474 of file ZClasses.pas.
| TZSelectSchema::ConvertIdentifiers | ( | IZIdentifierConvertor | Convertor | ) | [private] |
Convert all table and field identifiers.
| Convertor | an identifier convertor. |
Definition at line 651 of file ZSelectSchema.pas.
| TZSelectSchema::DeleteField | ( | TZFieldRef | FieldRef | ) |
Deletes a field from this select schema.
| FieldRef | a field reference object. |
Reimplemented from IZSelectSchema.
Definition at line 769 of file ZSelectSchema.pas.
| Boolean TZAbstractObject::Equals | ( | const IZInterface | Value | ) | [inherited] |
Reimplemented in TZAnyValue.
| TZFieldRef TZSelectSchema::FindFieldByShortName | ( | const string | Field | ) |
Finds a field reference by field name or field alias.
| Field | a table field name or alias. |
null otherwise. Reimplemented from IZSelectSchema.
Definition at line 553 of file ZSelectSchema.pas.
| TZTableRef TZSelectSchema::FindTableByFullName | ( | const string | Catalog, | |
| const string | Schema, | |||
| const string | Table | |||
| ) |
Finds a table reference by catalog and table name.
| Catalog | a database catalog name. | |
| Schema | a database schema name. | |
| Table | a database table name. |
null otherwise. Reimplemented from IZSelectSchema.
Definition at line 479 of file ZSelectSchema.pas.
| TZTableRef TZSelectSchema::FindTableByShortName | ( | const string | Table | ) |
Finds a table reference by table name or table alias.
| Table | a database table name or alias. |
null otherwise. Reimplemented from IZSelectSchema.
Definition at line 517 of file ZSelectSchema.pas.
| TZFieldRef TZSelectSchema::GetField | ( | Integer | Index | ) |
Gets a field reference by index.
| Index | an index of the reference. |
Reimplemented from IZSelectSchema.
Definition at line 796 of file ZSelectSchema.pas.
| Integer TZSelectSchema::GetFieldCount | ( | ) |
Gets a count of field references.
Reimplemented from IZSelectSchema.
Definition at line 809 of file ZSelectSchema.pas.
| TZTableRef TZSelectSchema::GetTable | ( | Integer | Index | ) |
Gets a table reference by index.
| Index | an index of the reference. |
Reimplemented from IZSelectSchema.
Definition at line 822 of file ZSelectSchema.pas.
| Integer TZSelectSchema::GetTableCount | ( | ) |
Gets a count of table references.
Reimplemented from IZSelectSchema.
Definition at line 835 of file ZSelectSchema.pas.
| LongInt TZAbstractObject::Hash | ( | ) | [inherited] |
Gets a unique hash for this object.
Reimplemented from IZObject.
Definition at line 462 of file ZClasses.pas.
| TZSelectSchema::InsertField | ( | Integer | Index, | |
| TZFieldRef | FieldRef | |||
| ) |
Inserts a new field to this select schema.
| Index | an index where to insert a new field reference. | |
| FieldRef | a field reference object. |
Reimplemented from IZSelectSchema.
Definition at line 755 of file ZSelectSchema.pas.
| Boolean TZAbstractObject::InstanceOf | ( | const TGUID | IId | ) | [inherited] |
Checks is this object implements a specified interface.
| IId | an interface id. |
True if this object support the interface. Reimplemented from IZObject.
Definition at line 488 of file ZClasses.pas.
| TZFieldRef TZSelectSchema::LinkFieldByIndexAndShortName | ( | Integer | ColumnIndex, | |
| const string | Field | |||
| ) |
Links a field reference by index and/or field name or field alias.
| ColumnIndex | an index of the column. | |
| Field | a table field name or alias. |
null otherwise. Reimplemented from IZSelectSchema.
Definition at line 592 of file ZSelectSchema.pas.
| TZSelectSchema::LinkReferences | ( | IZIdentifierConvertor | Convertor | ) |
Links references between fields and tables.
| Convertor | an identifier convertor. |
Reimplemented from IZSelectSchema.
Definition at line 686 of file ZSelectSchema.pas.
| string TZAbstractObject::ToString | ( | ) | [inherited] |
Converts this object into the string representation.
Reimplemented from IZObject.
Reimplemented in TZCollection, TZUnmodifiableCollection, TZStack, and TZAnyValue.
Definition at line 501 of file ZClasses.pas.
TObjectList TZSelectSchema::FFields [private] |
Definition at line 279 of file ZSelectSchema.pas.
| Integer TZSelectSchema::FieldCount |
Reimplemented from IZSelectSchema.
Definition at line 357 of file ZSelectSchema.pas.
Reimplemented from IZSelectSchema.
Definition at line 360 of file ZSelectSchema.pas.
TObjectList TZSelectSchema::FTables [private] |
Definition at line 281 of file ZSelectSchema.pas.
| Integer TZSelectSchema::TableCount |
Reimplemented from IZSelectSchema.
Definition at line 363 of file ZSelectSchema.pas.
Reimplemented from IZSelectSchema.
Definition at line 366 of file ZSelectSchema.pas.
1.5.7.1