Sign in Join
FPDoc Onlineexperiment

TIndexDefs class

In unit DB

A class to keep a list of index definitions.

Declaration

pascal
TIndexDefs = class(TDefCollection)

Inheritance

  1. TIndexDefs
  2. TDefCollection
  3. TOwnedCollection
  4. TCollection
  5. TPersistent
  6. TObject

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

ItemspublicIndexed access to the index definitions.

Methods

CreatepublicCreate a new TIndexDefs instance.
AddpublicAdd a new index definition with given name and options.
AddIndexDefpublicAdd a new, empty, index definition.
FindpublicFind an index by name.
FindIndexForFieldspublicFind index definition based on field names.
GetIndexForFieldspublicGet index definition based on field names.
UpdatepublicCalled whenever one of the items changes.

Inherited

From TDefCollection (5)

Dataset GetItemNames IndexOf SetItemName Updated

From TOwnedCollection (1)

GetOwner

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.