메소드 | 설명 | |
---|---|---|
GetCardinality ( |
Returns a number indicating how many breaks this index has for the properties used in the criteria. Roughly speaking, higher is better (though the number is an estimate, it is possible to have data that makes the index inefficient). If there are multiple indexes, the one that returns the highest number from this method will be used. An index should return 1 to indicate that it offers no value for this criteria.
|
|
GetPossibleMatches ( |
Uses the index to return the smallest number of possible matches for this criteria.
|
|
MultiPropertyMemoryIndex ( |
This is an index that has a nested index (I.E. an index on two or more fields).
|
|
Rebuild ( IEnumerable |
This method rebuilds the index given a new list of data objects.
|
메소드 | 설명 | |
---|---|---|
AddObjectsToSubIndexes ( IEnumerable |
public GetCardinality ( |
||
crit | The query being run. | |
리턴 | int |
public GetPossibleMatches ( |
||
crit | The query being run. | |
리턴 | IList |
public MultiPropertyMemoryIndex ( |
||
layer | Data access layer in use. | |
property | string | Property for this index. |
nextProperties | List |
Properties for the child indexes. Must have at least one. |
objects | IEnumerable |
All objects that will be in this index and its children. |
리턴 | System |
public Rebuild ( IEnumerable |
||
objects | IEnumerable |
All the objects in the data store. |
리턴 | void |