TIndex: Razlika med redakcijama
m (→Osnovna uporaba) |
m |
||
| Vrstica 141: | Vrstica 141: | ||
===BuildAll=== | ===BuildAll=== | ||
| − | Metoda '''BuildAll''' . | + | Metoda '''BuildAll''' zgradi vse indexe podatkovne plasti. |
<declaration> | <declaration> | ||
Method|TIndex.BuildAll | Method|TIndex.BuildAll | ||
</declaration> | </declaration> | ||
| − | <source></source> | + | <source>[SomeLayer].Indexes.BuildAll</source> |
| + | |||
| + | ===BuildAllForced=== | ||
| + | Metoda '''BuildAllForced''' ponovno zgradi vse indexe podatkovne plasti. To se uporabi, kadar so indexi na virtualnih poljih, katerih vrednosti se lahko spremenijo brez dejanskih sprememb v plasti. | ||
| + | <declaration> | ||
| + | Method|TIndex.BuildAllForced | ||
| + | </declaration> | ||
| + | <source>[SomeLayer].Indexes.BuildAllForced</source> | ||
| + | |||
| + | ===Rebuild=== | ||
| + | Metoda '''Rebuild''' ponovno zgradi določen index podatkovne plasti. To se uporabi, kadar je index na virtualnih poljih, katerih vrednosti se lahko spremenijo brez dejanskih sprememb v plasti. | ||
| + | <declaration> | ||
| + | Method|TIndex.Rebuild | ||
| + | </declaration> | ||
| + | <source>[SomeLayer].Index('SomeIndex').Rebuild</source> | ||
==Iskanje== | ==Iskanje== | ||
Trenutna redakcija s časom 17:26, 3. november 2014
Razred TIndex .
Osnovna uporaba
Find1
Metoda Find1 .
| Method TIndex.Find1 (Key1 As String) As TRecordList | ||
| Key1 | String | . |
| Result | Optional TRecordList | . |
Find2
Metoda Find2 .
| Method TIndex.Find2 (Key1, Key2 As String) As TRecordList | ||
| Key1 | String | . |
| Key2 | String | . |
| Result | Optional TRecordList | . |
Find3
Metoda Find3 .
| Method TIndex.Find3 (Key1, Key2, Key3 As String) As TRecordList | ||
| Key1 | String | . |
| Key2 | String | . |
| Key3 | String | . |
| Result | Optional TRecordList | . |
Execute
Metoda Execute .
| Method TIndex.Execute |
ExecuteList
Metoda ExecuteList .
| Method TIndex.ExecuteList (List As TRecordList) | ||
| List | TRecordList | . |
Find
Metoda Find .
| Method TIndex.Find |
FindList
Metoda FindList .
| Method TIndex.FindList (List As TRecordList) | ||
| List | TRecordList | . |
Skupne lastnosti
Name
Lastnost Name .
| Property TIndex.Name As String | ||
| Result | String | . |
Alias
Lastnost Alias .
| Property TIndex.Alias As String | ||
| Result | String | . |
Comment
Lastnost Comment .
| Property TIndex.Comment As String | ||
| Result | String | . |
Parent
Lastnost Parent .
| RO Property TIndex.Parent As TLayer | ||
| Result | TLayer | . |
StoredNames
Lastnost StoredNames .
| RO Property TIndex.StoredNames As String | ||
| Result | String | . |
Skupne metode
Clear
Metoda Clear .
| Method TIndex.Clear |
CopyFrom
Metoda CopyFrom .
| Method TIndex.CopyFrom (L As TIndex) | ||
| L | TIndex | . |
DeleteAll
Metoda DeleteAll .
| Method TIndex.DeleteAll |
Metode indexa
AddIndexKey
Metoda AddIndexKey .
| Method TIndex.AddIndexKey (Field As TField) | ||
| Field | TField | . |
BuildAll
Metoda BuildAll zgradi vse indexe podatkovne plasti.
| Method TIndex.BuildAll |
[SomeLayer].Indexes.BuildAllBuildAllForced
Metoda BuildAllForced ponovno zgradi vse indexe podatkovne plasti. To se uporabi, kadar so indexi na virtualnih poljih, katerih vrednosti se lahko spremenijo brez dejanskih sprememb v plasti.
| Method TIndex.BuildAllForced |
[SomeLayer].Indexes.BuildAllForcedRebuild
Metoda Rebuild ponovno zgradi določen index podatkovne plasti. To se uporabi, kadar je index na virtualnih poljih, katerih vrednosti se lahko spremenijo brez dejanskih sprememb v plasti.
| Method TIndex.Rebuild |
[SomeLayer].Index('SomeIndex').RebuildIskanje
FindClear
Metoda FindClear .
| Method TIndex.FindClear |
FindKey
Lastnost FindKey .
| Property TIndex.FindKey (Key As String) As String | ||
| Key | String | . |
| Result | String | . |
FindKeyIdx
Lastnost FindKeyIdx .
| Property TIndex.FindKeyIdx (Key As Long) As String | ||
| Key | Long | . |
| Result | String | . |