![]() |
DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
An implementation of BlockIndexBase<T> that stores all values in blocks that are entirely stored in main memory. /summary> More...
Classes | |
| class | Block |
Public Member Functions | |
| BlockIndex () | |
| Constructs an index with no values. More... | |
| BlockIndex (IEnumerable< T > values) | |
| BlockIndex (IIndex< T > index) | |
| BlockIndex (IEnumerable< IIndexBlock< T >> blocks) | |
Public Member Functions inherited from Deveel.Data.Index.BlockIndexBase< T > | |
| void | Insert (int index, T value) |
| void | Add (T value) |
| T | RemoveAt (int index) |
| bool | Contains (T value) |
| void | InsertSort (T value) |
| bool | UniqueInsertSort (T value) |
| bool | RemoveSort (T value) |
| bool | Contains (object key, IIndexComparer< T > comparer) |
| void | InsertSort (object key, T value, IIndexComparer< T > comparer) |
| T | RemoveSort (object key, T value, IIndexComparer< T > comparer) |
| int | SearchLast (object key, IIndexComparer< T > comparer) |
| int | SearchFirst (object key, IIndexComparer< T > comparer) |
| IIndexEnumerator< T > | GetEnumerator () |
| IIndexEnumerator< T > | GetEnumerator (int startOffset, int endOffset) |
Protected Member Functions | |
| override IIndexBlock< T > | NewBlock () |
| Creates a new IIndexBlock<T> for the given implementation. More... | |
Protected Member Functions inherited from Deveel.Data.Index.BlockIndexBase< T > | |
| BlockIndexBase () | |
| BlockIndexBase (IEnumerable< IIndexBlock< T >> blocks) | |
| BlockIndexBase (IEnumerable< T > values) | |
| BlockIndexBase (IIndex< T > index) | |
| virtual void | OnDeleteBlock (IIndexBlock< T > block) |
| Called when the class decides the given IIndexBlock<T> is no longer needed. More... | |
Additional Inherited Members | |
Package Functions inherited from Deveel.Data.Index.BlockIndexBase< T > | |
| void | CopyToArray (T[] array, int offset, int length) |
| Copies the data from each block into the given int[] array. More... | |
Properties inherited from Deveel.Data.Index.BlockIndexBase< T > | |
| List< IIndexBlock< T > > | Blocks [get, private set] |
| bool | IsReadOnly [get, set] |
| int | Count [get, private set] |
| T | this[int index] [get] |
An implementation of BlockIndexBase<T> that stores all values in blocks that are entirely stored in main memory. /summary>
This type of structure is useful for large in-memory lists in which a dd/remove performance must be fast.
| T | : | IComparable<T> | |
| T | : | IEquatable<T> |
Definition at line 30 of file BlockIndex_T.cs.
|
inline |
|
inline |
Definition at line 38 of file BlockIndex_T.cs.
|
inline |
Definition at line 43 of file BlockIndex_T.cs.
|
inline |
Definition at line 48 of file BlockIndex_T.cs.
|
inlineprotectedvirtual |
Creates a new IIndexBlock<T> for the given implementation.
Implements Deveel.Data.Index.BlockIndexBase< T >.
Definition at line 53 of file BlockIndex_T.cs.
1.8.10