DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
An object that provides methods for accessing a finite collection of SQL expressions. More...
Classes | |
class | Enumerator |
Public Member Functions | |
SqlArray (SqlExpression[] expressions) | |
Constructs a new SqlArray on the given array of expressions. More... | |
SqlExpression | GetValue (int index) |
Gets the expression at the given index of the array. More... | |
IEnumerator< SqlExpression > | GetEnumerator () |
Static Public Attributes | |
static readonly SqlArray | Null = new SqlArray(null) |
A SQL array that is equivalent to null . More... | |
Properties | |
bool | IsNull [get, private set] |
int | Length [get] |
Gets the length of the array. More... | |
SqlExpression | this[int index] [get] |
Gets the expression at the given index of the array. More... | |
Properties inherited from Deveel.Data.Sql.Objects.ISqlObject | |
bool | IsNull [get] |
Gets a boolean value indicating if the object is NULL . More... | |
Private Member Functions | |
int IComparable. | CompareTo (object obj) |
int IComparable< ISqlObject >. | CompareTo (ISqlObject other) |
bool ISqlObject. | IsComparableTo (ISqlObject other) |
Checks if the current object is comparable with the given one. More... | |
void | AssertNotNull () |
IEnumerator IEnumerable. | GetEnumerator () |
Private Attributes | |
readonly SqlExpression[] | expressions |
An object that provides methods for accessing a finite collection of SQL expressions.
Definition at line 28 of file SqlArray.cs.
|
inline |
Constructs a new SqlArray on the given array of expressions.
expressions | The array of SqlExpression that is the source of this array. |
Definition at line 42 of file SqlArray.cs.
|
inlineprivate |
Definition at line 79 of file SqlArray.cs.
|
inlineprivate |
Definition at line 52 of file SqlArray.cs.
|
inlineprivate |
Definition at line 56 of file SqlArray.cs.
|
inline |
Definition at line 131 of file SqlArray.cs.
|
inlineprivate |
Definition at line 136 of file SqlArray.cs.
|
inline |
Gets the expression at the given index of the array.
index | The zero-based index in the array at which to get the expression |
NullReferenceException | If the array is null . |
ArgumentOutOfRangeException | If the given index is lower than zero or greater or equal than Length. |
Definition at line 122 of file SqlArray.cs.
|
inlineprivate |
Checks if the current object is comparable with the given one.
other | The other ISqlObject to compare. |
true
if the current object is comparable with the given one, false
otherwise. Implements Deveel.Data.Sql.Objects.ISqlObject.
Definition at line 75 of file SqlArray.cs.
|
private |
Definition at line 29 of file SqlArray.cs.
A SQL array that is equivalent to null
.
Definition at line 34 of file SqlArray.cs.
|
getprivate set |
Definition at line 60 of file SqlArray.cs.
|
get |
Gets the length of the array.
NullReferenceException | If the array is null . |
Definition at line 68 of file SqlArray.cs.
|
get |
Gets the expression at the given index of the array.
index | The zero-based index in the array at which to get the expression |
NullReferenceException | If the array is null . |
ArgumentOutOfRangeException | If the given index is lower than zero or greater or equal than Length. |
Definition at line 101 of file SqlArray.cs.