[]
Represents an index or a subindex in its capacity of scanning through data. Provides methods for searching data items.
public interface IIndexScanner<T, TKey> : IIndexScanner<T>
Name | Description |
---|---|
T | The type of the elements of the indexed collection. |
TKey | The type of the index key. |
This interface is implemented by Index<T, TKey>. It is also used by subindexes, but there it is not directly implemented by Subindex<T, TKey>, but rather returned by the IndexQuery<T>.Subindex method because it depends on the item found by an index or a subindex that is the parent of that subindex.
IIndexScanner<T, TKey> has an untyped key counterpart IIndexScanner<T> that is used with untyped key classes Index<T> and Subindex<T>
Name | Description |
---|---|
All(Order) | Gets all items in the indexed collection. |
ContainsKey(TKey) | Returns a value that indicates whether the collection contains an item with the given key value. |
Find(TKey) | Finds items with the specified key value. |
FindBetween(TKey, bool, TKey, bool, Func<TKey, bool>, Order) | Finds items with key values in the interval between the specified values. |
FindGreater(TKey, bool, Func<TKey, bool>, Order) | Finds items with keys greater than the specified value. |
FindKeys(IEnumerable<TKey>, Order) | Finds items containing any of the specified key values. |
FindLess(TKey, bool, Func<TKey, bool>, Order) | Finds items with keys less than the specified value. |
GroupJoin<T2, TResult>(IIndexScanner<T2, TKey>, Func<T, IEnumerable<T2>, TResult>) | Correlates the items of this indexed collection with the items of another indexed collection and groups the results by the item of this collection. |
GroupJoin<T2, TResult>(IEnumerable<T2>, Func<T2, TKey>, Func<IEnumerable<T>, T2, TResult>) | Correlates the items of this indexed collection with the items of another sequence and groups the results by the item of the second sequence. |
GroupJoin<T2, TResult>(IEnumerable<T2>, Func<T2, TKey>, Func<T, IEnumerable<T2>, TResult>) | Correlates the items of this indexed collection with the items of another sequence and groups the results by the item of this collection. |
Join<T2, TResult>(IIndexScanner<T2, TKey>, Func<T, T2, TResult>, JoinOperator) | Correlates the items of this indexed collection with the items of another indexed collection and returns the combined items with matching keys. |
Join<T2, TResult>(IEnumerable<T2>, Func<T2, TKey>, Func<T, T2, TResult>, JoinOperator) | Correlates the items of this indexed collection with the items of another sequence and returns the combined items with matching keys. |
Keys(Order) | Gets distinct key values in all items of this collection. |