TIndexDefs class
A class to keep a list of index definitions.
Declaration
TIndexDefs = class(TDefCollection)Inheritance
Descends from it: TServerIndexDefs
Description
TIndexDefs is used to keep a collection of index (sort order) definitions.
It can be used by classes that provide in-memory or on-disk indexes to provide a list
of available indexes.See also
Properties
Items | public | Indexed access to the index definitions. |
Methods
Create | public | Create a new TIndexDefs instance. |
Add | public | Add a new index definition with given name and options. |
AddIndexDef | public | Add a new, empty, index definition. |
Find | public | Find an index by name. |
FindIndexForFields | public | Find index definition based on field names. |
GetIndexForFields | public | Get index definition based on field names. |
Update | public | Called whenever one of the items changes. |
Inherited
From TDefCollection (5)
From TOwnedCollection (1)
From TCollection (26)
Assign BeginUpdate Changed Clear Count Delete Destroy EndUpdate Exchange FindItemID GetAttr GetAttrCount GetEnumerator GetItem GetItemAttr GetNamePath Insert ItemClass Move Notify Owner PropName SetItem SetPropName Sort UpdateCount
From TPersistent (5)
AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
