Property | Type | Description | |
---|---|---|---|
_daLayer | |||
_property | string |
Method | Description | |
---|---|---|
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.
|
|
Rebuild ( IEnumerable |
This method rebuilds the index given a new list of data objects.
|
Method | Description | |
---|---|---|
AbstractMemoryIndex ( |
Base class that handles some of the key comparison common across index types.
|
|
GetExpressionsForIndex ( |
This returns none if the crit is ORed, or if there are no expressions on this index's property.
|
|
GetMatchingKeys ( |
Gets the keys that match the expressions that are relevent to this index.
|
|
SplitObjectsByProperty ( IEnumerable |
Splits a list of objects into a bunch of lists, one for each value of the index's property.
|
protected AbstractMemoryIndex ( |
||
layer | The data access layer in use. | |
property | string | The property to index on. |
return | System |
public abstract GetCardinality ( |
||
crit | The query being run. | |
return | int |
protected GetExpressionsForIndex ( |
||
crit | The query being run. | |
return | IList |
protected GetMatchingKeys ( |
||
crit | The query being run. | |
allKeys | IEnumerable |
All the key values in the index. |
return | IList |
public abstract GetPossibleMatches ( |
||
crit | The query being run. | |
return | IList |
public abstract Rebuild ( IEnumerable |
||
objects | IEnumerable |
All the objects in the data store. |
return | void |
protected SplitObjectsByProperty ( IEnumerable |
||
objects | IEnumerable |
A list of potentially unordered objects. |
return | IList |
protected MemoryDaLayer,Azavea.Open.DAO.Memory _daLayer | ||
return |