DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
Classes | |
class | Enumerator |
Public Member Functions | |
Block (int blockSize) | |
IEnumerator< T > | GetEnumerator () |
bool | CanContain (int number) |
void | Add (T value) |
Adss an int element to the block. More... | |
T | RemoveAt (int index) |
Removes the element at the given index from the block. More... | |
int | IndexOf (T value) |
summary> Performs an iterative search from the given position to the end of the list in the block. /summary> param name="value"> More... | |
int | IndexOf (T value, int startIndex) |
void | Insert (T value, int index) |
Inserts an element to the block at the given index. More... | |
void | MoveTo (IIndexBlock< T > destBlock, int destIndex, int length) |
summary> Copies all the data from this block into the given destination block. /summary> param name="destBlock"> More... | |
void | CopyTo (IIndexBlock< T > destBlock) |
summary> Copies all the data from this block into the given array. /summary> param name="array">The destination array of the copy. More... | |
int | CopyTo (T[] destArray, int arrayIndex) |
void | Clear () |
Clears the block of all elements. More... | |
int | BinarySearch (object key, IIndexComparer< T > comparer) |
summary> Finds the first index in the block that equals the given key. /summary> param name="key"> More... | |
int | SearchFirst (object key, IIndexComparer< T > comparer) |
summary> Finds the last index in the block that equals the given key. /summary> param name="key"> More... | |
int | SearchLast (object key, IIndexComparer< T > comparer) |
summary> Assuming a sorted block, finds the first index in the block that equals the given value. /summary> param name="value"> More... | |
int | SearchFirst (T value) |
summary> Assuming a sorted block, finds the last index in the block that equals the given value. /summary> param name="value"> More... | |
int | SearchLast (T value) |
Protected Member Functions | |
Block () | |
virtual T[] | GetArray (bool readOnly) |
Properties | |
T[] | BaseArray [get, set] |
virtual int | ArrayLength [get] |
IIndexBlock< T > IIndexBlock< T >. | Next [get, set] |
Block | Next [get, set] |
IIndexBlock< T > IIndexBlock< T >. | Previous [get, set] |
Block | Previous [get, set] |
bool | HasChanged [get] |
int | Count [get, protected set] |
bool | IsFull [get] |
bool | IsEmpty [get] |
virtual T | Top [get] |
virtual T | Bottom [get] |
T | this[int index] [get, set] |
Properties inherited from Deveel.Data.Index.IIndexBlock< T > | |
IIndexBlock< T > | Next [get, set] |
Gets or sets the next block in the hash. More... | |
IIndexBlock< T > | Previous [get, set] |
Gets or sets the previous block in the hash. More... | |
bool | HasChanged [get] |
int | Count [get] |
bool | IsFull [get] |
Gets a value indicating if the block is full. More... | |
bool | IsEmpty [get] |
Gets a value indicating if the block is empty. More... | |
T | Top [get] |
Gets the element at the top of the block. More... | |
T | Bottom [get] |
Gets the element at the bottom of the block. More... | |
T | this[int index] [get, set] |
Gets or sets the element at the given index within the block. More... | |
Private Member Functions | |
IEnumerator IEnumerable. | GetEnumerator () |
Static Private Member Functions | |
static bool | IsSmallerOrEqual (T x, T y) |
static bool | IsGreaterOrEqual (T x, T y) |
static bool | IsGreater (T x, T y) |
static bool | IsSmaller (T x, T y) |
Private Attributes | |
int | count |
bool | changed |
Definition at line 59 of file BlockIndex_T.cs.
|
inlineprotected |
Definition at line 63 of file BlockIndex_T.cs.
|
inline |
Definition at line 66 of file BlockIndex_T.cs.
|
inline |
Adss an int element to the block.
Implements Deveel.Data.Index.IIndexBlock< T >.
Definition at line 176 of file BlockIndex_T.cs.
|
inline |
summary> Finds the first index in the block that equals the given key. /summary> param name="key">
Implements Deveel.Data.Index.IIndexBlock< T >.
Definition at line 267 of file BlockIndex_T.cs.
|
inline |
|
inline |
Clears the block of all elements.
Implements Deveel.Data.Index.IIndexBlock< T >.
Definition at line 261 of file BlockIndex_T.cs.
|
inline |
summary> Copies all the data from this block into the given array. /summary> param name="array">The destination array of the copy.
Implements Deveel.Data.Index.IIndexBlock< T >.
Definition at line 246 of file BlockIndex_T.cs.
|
inline |
Implements Deveel.Data.Index.IIndexBlock< T >.
Definition at line 255 of file BlockIndex_T.cs.
|
inlineprotectedvirtual |
Definition at line 145 of file BlockIndex_T.cs.
|
inline |
Definition at line 78 of file BlockIndex_T.cs.
|
inlineprivate |
Definition at line 82 of file BlockIndex_T.cs.
|
inline |
summary> Performs an iterative search from the given position to the end of the list in the block. /summary> param name="value">
Implements Deveel.Data.Index.IIndexBlock< T >.
Definition at line 194 of file BlockIndex_T.cs.
|
inline |
Implements Deveel.Data.Index.IIndexBlock< T >.
Definition at line 204 of file BlockIndex_T.cs.
|
inline |
Inserts an element to the block at the given index.
Implements Deveel.Data.Index.IIndexBlock< T >.
Definition at line 214 of file BlockIndex_T.cs.
|
inlinestaticprivate |
Definition at line 162 of file BlockIndex_T.cs.
|
inlinestaticprivate |
Definition at line 158 of file BlockIndex_T.cs.
|
inlinestaticprivate |
Definition at line 166 of file BlockIndex_T.cs.
|
inlinestaticprivate |
Definition at line 154 of file BlockIndex_T.cs.
|
inline |
summary> Copies all the data from this block into the given destination block. /summary> param name="destBlock">
Implements Deveel.Data.Index.IIndexBlock< T >.
Definition at line 223 of file BlockIndex_T.cs.
|
inline |
Removes the element at the given index from the block.
Implements Deveel.Data.Index.IIndexBlock< T >.
Definition at line 184 of file BlockIndex_T.cs.
|
inline |
summary> Finds the last index in the block that equals the given key. /summary> param name="key">
Implements Deveel.Data.Index.IIndexBlock< T >.
Definition at line 287 of file BlockIndex_T.cs.
|
inline |
summary> Assuming a sorted block, finds the last index in the block that equals the given value. /summary> param name="value">
Implements Deveel.Data.Index.IIndexBlock< T >.
Definition at line 355 of file BlockIndex_T.cs.
|
inline |
summary> Assuming a sorted block, finds the first index in the block that equals the given value. /summary> param name="value">
Implements Deveel.Data.Index.IIndexBlock< T >.
Definition at line 322 of file BlockIndex_T.cs.
|
inline |
Implements Deveel.Data.Index.IIndexBlock< T >.
Definition at line 386 of file BlockIndex_T.cs.
|
private |
Definition at line 61 of file BlockIndex_T.cs.
|
private |
Definition at line 60 of file BlockIndex_T.cs.
|
getprotected |
Definition at line 74 of file BlockIndex_T.cs.
|
getsetprotected |
Definition at line 72 of file BlockIndex_T.cs.
|
get |
Definition at line 127 of file BlockIndex_T.cs.
|
getprotected set |
Definition at line 106 of file BlockIndex_T.cs.
|
get |
Definition at line 101 of file BlockIndex_T.cs.
|
get |
Definition at line 117 of file BlockIndex_T.cs.
|
get |
Definition at line 112 of file BlockIndex_T.cs.
|
getsetprivate |
Definition at line 86 of file BlockIndex_T.cs.
|
getsetprivate |
Definition at line 91 of file BlockIndex_T.cs.
|
getsetprivate |
Definition at line 93 of file BlockIndex_T.cs.
|
getsetprivate |
Definition at line 98 of file BlockIndex_T.cs.
|
getset |
Definition at line 137 of file BlockIndex_T.cs.
|
get |
Definition at line 122 of file BlockIndex_T.cs.