IIndex<'K> Type
An interface that represents index mapping keys of some generic type `T` to locations
of address `Address`. The `IIndex
Instance members
| Instance member |
Description
|
|
|
|
Returns the address operations associated with this index. The addresses of the index are not necesarilly continuous integers from 0. This provides some operations that can be used for implementing generic operations over any kind of indices.
|
|
Returns the addressing scheme of the index. When creating a series or a frame this is compared for equality with the addressing scheme of the vector(s).
|
|
Returns an index builder that can be used for constructing new indices of the same kind as the current index (e.g. a lazy index returns a lazy index builder)
|
|
Returns a comparer associated with the values used by the current index.
|
Full Usage:
this.IsEmpty
Returns: bool
Modifiers: abstract |
Returns whether the specified index is empty. This is equivalent to testing if `Keys` are empty, but it does not have to evaluate delayed index.
|
Full Usage:
this.IsOrdered
Returns: bool
Modifiers: abstract |
Returns `true` if the index is ordered and `false` otherwise
|
|
|
Full Usage:
this.KeyCount
Returns: int64
Modifiers: abstract |
Returns the number of keys in the index
|
Full Usage:
this.KeyRange
Returns: 'K * 'K
Modifiers: abstract |
Returns the minimal and maximal key associated with the index. (the operation may fail for unordered indices)
|
Full Usage:
this.KeySequence
Returns: 'K seq
Modifiers: abstract |
Returns a lazy sequence that iterates over all keys in the index
|
|
Returns a (fully evaluated) collection with all keys in the index
|
|
|
|
Find the address associated with the specified key, or with the nearest key as specified by the `lookup` argument. The `condition` function is called when searching for keys to ask the caller whether the address should be returned (or whether to continue searching). This is used when searching for previous element in a series (where we need to check if a value at the address is available)
|
|
Returns all key-address mappings in the index
|
Deedle