DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
Describes the range of values to select from an index. More...
Public Member Functions | |
IndexRange (RangeFieldOffset startOffset, DataObject firstValue, RangeFieldOffset lastOffset, DataObject endValue) | |
Constructs the range given a start and an end location More... | |
override bool | Equals (object obj) |
override int | GetHashCode () |
override string | ToString () |
Static Public Member Functions | |
static bool | operator== (IndexRange a, IndexRange b) |
static bool | operator!= (IndexRange a, IndexRange b) |
Static Public Attributes | |
static readonly DataObject | FirstInSet = new DataObject(PrimitiveTypes.Null(), new SqlString("FirstInSet")) |
static readonly DataObject | LastInSet = new DataObject(PrimitiveTypes.Null(), new SqlString("LastInSet")) |
static readonly IndexRange | FullRange |
The entire range of values in an index (including NULL ) More... | |
static readonly IndexRange | FullRangeNotNull |
The entire range of values in an index (not including NULL ) More... | |
static readonly IndexRange | Null = new IndexRange(true) |
Properties | |
bool | IsNull [get, private set] |
RangeFieldOffset | StartOffset [get, private set] |
Gets the offset of the first value of the range. More... | |
DataObject | StartValue [get, private set] |
Gets the first value of the range. More... | |
RangeFieldOffset | EndOffset [get, private set] |
Gets the offset of the last value of the range. More... | |
DataObject | EndValue [get, private set] |
Gets the last value of the range. More... | |
Private Member Functions | |
IndexRange (bool isNull) | |
Describes the range of values to select from an index.
A range has a start value, an end value, and whether we should pick inclusive or exclusive of the end value. The start value may be a concrete value from the set or it may be a flag that represents the start or end of the list.
Note that the the start value may not compare less than the end value. For example, start can not be RangeFieldOffset.LastValue and end can not be RangeFieldOffset.FirstValue.
Definition at line 38 of file IndexRange.cs.
|
inline |
Constructs the range given a start and an end location
startOffset | The offset of the first value of the range. |
firstValue | The first value of the range |
lastOffset | The offset within the range of the last value. |
endValue | The last value of the range. |
Definition at line 56 of file IndexRange.cs.
|
inlineprivate |
Definition at line 64 of file IndexRange.cs.
|
inline |
Definition at line 106 of file IndexRange.cs.
|
inline |
Definition at line 122 of file IndexRange.cs.
|
inlinestatic |
Definition at line 150 of file IndexRange.cs.
|
inlinestatic |
Definition at line 146 of file IndexRange.cs.
|
inline |
Definition at line 127 of file IndexRange.cs.
|
static |
Definition at line 42 of file IndexRange.cs.
|
static |
The entire range of values in an index (including NULL
)
Definition at line 74 of file IndexRange.cs.
|
static |
The entire range of values in an index (not including NULL
)
Definition at line 80 of file IndexRange.cs.
|
static |
Definition at line 47 of file IndexRange.cs.
|
static |
Definition at line 83 of file IndexRange.cs.
|
getprivate set |
Gets the offset of the last value of the range.
Definition at line 98 of file IndexRange.cs.
|
getprivate set |
Gets the last value of the range.
Definition at line 103 of file IndexRange.cs.
|
getprivate set |
Definition at line 69 of file IndexRange.cs.
|
getprivate set |
Gets the offset of the first value of the range.
Definition at line 88 of file IndexRange.cs.
|
getprivate set |
Gets the first value of the range.
Definition at line 93 of file IndexRange.cs.