DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
Public Member Functions | |
SqlNumber (byte[] bytes, int scale) | |
SqlNumber (byte[] bytes, int scale, int precision) | |
SqlNumber (int value, int precision) | |
SqlNumber (int value) | |
SqlNumber (long value, int precision) | |
SqlNumber (long value) | |
SqlNumber (double value) | |
SqlNumber (double value, int precision) | |
void ISerializable. | GetData (SerializeData data) |
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... | |
bool | Equals (SqlNumber other) |
override bool | Equals (object obj) |
override int | GetHashCode () |
int | CompareTo (SqlNumber other) |
TypeCode IConvertible. | GetTypeCode () |
bool IConvertible. | ToBoolean (IFormatProvider provider) |
char IConvertible. | ToChar (IFormatProvider provider) |
sbyte IConvertible. | ToSByte (IFormatProvider provider) |
byte IConvertible. | ToByte (IFormatProvider provider) |
short IConvertible. | ToInt16 (IFormatProvider provider) |
ushort IConvertible. | ToUInt16 (IFormatProvider provider) |
int IConvertible. | ToInt32 (IFormatProvider provider) |
uint IConvertible. | ToUInt32 (IFormatProvider provider) |
long IConvertible. | ToInt64 (IFormatProvider provider) |
ulong IConvertible. | ToUInt64 (IFormatProvider provider) |
float IConvertible. | ToSingle (IFormatProvider provider) |
double IConvertible. | ToDouble (IFormatProvider provider) |
decimal IConvertible. | ToDecimal (IFormatProvider provider) |
DateTime IConvertible. | ToDateTime (IFormatProvider provider) |
string IConvertible. | ToString (IFormatProvider provider) |
object IConvertible. | ToType (Type conversionType, IFormatProvider provider) |
byte[] | ToByteArray () |
override string | ToString () |
double | ToDouble () |
float | ToSingle () |
long | ToInt64 () |
int | ToInt32 () |
short | ToInt16 () |
byte | ToByte () |
bool | ToBoolean () |
SqlNumber | XOr (SqlNumber value) |
SqlNumber | And (SqlNumber value) |
SqlNumber | Or (SqlNumber value) |
SqlNumber | Add (SqlNumber value) |
SqlNumber | Subtract (SqlNumber value) |
SqlNumber | Multiply (SqlNumber value) |
SqlNumber | Divide (SqlNumber value) |
SqlNumber | Modulo (SqlNumber value) |
SqlNumber | Abs () |
SqlNumber | SetScale (int scale, RoundingMode mode) |
SqlNumber | Negate () |
SqlNumber | Plus () |
SqlNumber | Not () |
SqlNumber | Sqrt () |
SqlNumber | Root (int n) |
SqlNumber | Sin () |
SqlNumber | Cos () |
SqlNumber | Cot () |
SqlNumber | Tan () |
SqlNumber | Pow (SqlNumber exp) |
SqlNumber | Log2 () |
SqlNumber | Round () |
SqlNumber | Round (int precision) |
Static Public Member Functions | |
static bool | TryParse (string s, out SqlNumber value) |
static SqlNumber | Parse (string s) |
static SqlNumber | operator+ (SqlNumber a, SqlNumber b) |
static SqlNumber | operator- (SqlNumber a, SqlNumber b) |
static SqlNumber | operator* (SqlNumber a, SqlNumber b) |
static SqlNumber | operator/ (SqlNumber a, SqlNumber b) |
static SqlNumber | operator% (SqlNumber a, SqlNumber b) |
static SqlNumber | operator| (SqlNumber a, SqlNumber b) |
static SqlNumber | operator- (SqlNumber a) |
static SqlNumber | operator+ (SqlNumber a) |
static bool | operator== (SqlNumber a, SqlNumber b) |
static bool | operator!= (SqlNumber a, SqlNumber b) |
static bool | operator> (SqlNumber a, SqlNumber b) |
static bool | operator< (SqlNumber a, SqlNumber b) |
static bool | operator>= (SqlNumber a, SqlNumber b) |
static bool | operator<= (SqlNumber a, SqlNumber b) |
Static Public Attributes | |
static readonly SqlNumber | Zero = new SqlNumber(NumericState.None, BigDecimal.Zero) |
static readonly SqlNumber | One = new SqlNumber(NumericState.None, BigDecimal.One) |
static readonly SqlNumber | Null = new SqlNumber(NumericState.None, null) |
static readonly SqlNumber | NaN = new SqlNumber(NumericState.NotANumber, null) |
static readonly SqlNumber | NegativeInfinity = new SqlNumber(NumericState.NegativeInfinity, null) |
static readonly SqlNumber | PositiveInfinity = new SqlNumber(NumericState.PositiveInfinity, null) |
Properties | |
NumericState | State [get, private set] |
bool | CanBeInt64 [get] |
bool | CanBeInt32 [get] |
int | Scale [get] |
int | Precision [get] |
MathContext | MathContext [get] |
int | Sign [get] |
bool | IsNull [get] |
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 | |
SqlNumber (BigDecimal value) | |
SqlNumber (NumericState state, BigDecimal value) | |
SqlNumber (ObjectData data) | |
NumericState | InverseState () |
Private Attributes | |
readonly BigDecimal | innerValue |
readonly int | byteCount |
readonly long | valueAsLong |
Definition at line 24 of file SqlNumber.cs.
|
inlineprivate |
Definition at line 39 of file SqlNumber.cs.
|
inlineprivate |
Definition at line 43 of file SqlNumber.cs.
|
inline |
Definition at line 64 of file SqlNumber.cs.
|
inline |
Definition at line 68 of file SqlNumber.cs.
|
inline |
Definition at line 72 of file SqlNumber.cs.
|
inline |
Definition at line 76 of file SqlNumber.cs.
|
inline |
Definition at line 80 of file SqlNumber.cs.
|
inline |
Definition at line 84 of file SqlNumber.cs.
|
inline |
Definition at line 88 of file SqlNumber.cs.
|
inline |
Definition at line 92 of file SqlNumber.cs.
|
inlineprivate |
Definition at line 96 of file SqlNumber.cs.
|
inline |
Definition at line 588 of file SqlNumber.cs.
Definition at line 510 of file SqlNumber.cs.
Definition at line 484 of file SqlNumber.cs.
|
inline |
Definition at line 151 of file SqlNumber.cs.
|
inline |
Definition at line 158 of file SqlNumber.cs.
|
inline |
Definition at line 213 of file SqlNumber.cs.
|
inline |
Definition at line 656 of file SqlNumber.cs.
|
inline |
Definition at line 663 of file SqlNumber.cs.
Definition at line 554 of file SqlNumber.cs.
|
inline |
Definition at line 181 of file SqlNumber.cs.
|
inline |
Definition at line 202 of file SqlNumber.cs.
|
inline |
Implements Deveel.Data.Serialization.ISerializable.
Definition at line 137 of file SqlNumber.cs.
|
inline |
Definition at line 209 of file SqlNumber.cs.
|
inline |
Definition at line 264 of file SqlNumber.cs.
|
inlineprivate |
Definition at line 169 of file SqlNumber.cs.
|
inline |
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 177 of file SqlNumber.cs.
|
inline |
Definition at line 684 of file SqlNumber.cs.
Definition at line 571 of file SqlNumber.cs.
Definition at line 539 of file SqlNumber.cs.
|
inline |
Definition at line 605 of file SqlNumber.cs.
|
inline |
Definition at line 625 of file SqlNumber.cs.
Definition at line 782 of file SqlNumber.cs.
|
inlinestatic |
Definition at line 762 of file SqlNumber.cs.
|
inlinestatic |
Definition at line 754 of file SqlNumber.cs.
|
inlinestatic |
Definition at line 746 of file SqlNumber.cs.
Definition at line 774 of file SqlNumber.cs.
|
inlinestatic |
Definition at line 750 of file SqlNumber.cs.
Definition at line 770 of file SqlNumber.cs.
|
inlinestatic |
Definition at line 758 of file SqlNumber.cs.
Definition at line 790 of file SqlNumber.cs.
Definition at line 799 of file SqlNumber.cs.
Definition at line 778 of file SqlNumber.cs.
Definition at line 786 of file SqlNumber.cs.
Definition at line 794 of file SqlNumber.cs.
|
inlinestatic |
Definition at line 766 of file SqlNumber.cs.
Definition at line 497 of file SqlNumber.cs.
|
inlinestatic |
Definition at line 738 of file SqlNumber.cs.
|
inline |
Definition at line 615 of file SqlNumber.cs.
Definition at line 677 of file SqlNumber.cs.
|
inline |
Definition at line 642 of file SqlNumber.cs.
|
inline |
Definition at line 691 of file SqlNumber.cs.
|
inline |
Definition at line 695 of file SqlNumber.cs.
|
inline |
Definition at line 597 of file SqlNumber.cs.
|
inline |
Definition at line 649 of file SqlNumber.cs.
|
inline |
Definition at line 635 of file SqlNumber.cs.
Definition at line 525 of file SqlNumber.cs.
|
inline |
Definition at line 670 of file SqlNumber.cs.
|
inline |
Definition at line 273 of file SqlNumber.cs.
|
inline |
Definition at line 462 of file SqlNumber.cs.
|
inline |
Definition at line 285 of file SqlNumber.cs.
|
inline |
Definition at line 450 of file SqlNumber.cs.
|
inline |
Definition at line 365 of file SqlNumber.cs.
|
inline |
Definition at line 277 of file SqlNumber.cs.
|
inline |
Definition at line 325 of file SqlNumber.cs.
|
inline |
Definition at line 321 of file SqlNumber.cs.
|
inline |
Definition at line 317 of file SqlNumber.cs.
|
inline |
Definition at line 386 of file SqlNumber.cs.
|
inline |
Definition at line 289 of file SqlNumber.cs.
|
inline |
Definition at line 438 of file SqlNumber.cs.
|
inline |
Definition at line 297 of file SqlNumber.cs.
|
inline |
Definition at line 427 of file SqlNumber.cs.
|
inline |
Definition at line 305 of file SqlNumber.cs.
|
inline |
Definition at line 416 of file SqlNumber.cs.
|
inline |
Definition at line 281 of file SqlNumber.cs.
|
inline |
Definition at line 313 of file SqlNumber.cs.
|
inline |
Definition at line 401 of file SqlNumber.cs.
|
inline |
Definition at line 329 of file SqlNumber.cs.
|
inline |
Definition at line 371 of file SqlNumber.cs.
|
inline |
Definition at line 333 of file SqlNumber.cs.
|
inline |
Definition at line 293 of file SqlNumber.cs.
|
inline |
Definition at line 301 of file SqlNumber.cs.
|
inline |
Definition at line 309 of file SqlNumber.cs.
|
inlinestatic |
Definition at line 702 of file SqlNumber.cs.
Definition at line 471 of file SqlNumber.cs.
|
private |
Definition at line 26 of file SqlNumber.cs.
|
private |
Definition at line 25 of file SqlNumber.cs.
|
static |
Definition at line 33 of file SqlNumber.cs.
|
static |
Definition at line 35 of file SqlNumber.cs.
|
static |
Definition at line 31 of file SqlNumber.cs.
|
static |
Definition at line 30 of file SqlNumber.cs.
|
static |
Definition at line 37 of file SqlNumber.cs.
|
private |
Definition at line 27 of file SqlNumber.cs.
|
static |
Definition at line 29 of file SqlNumber.cs.
|
get |
Definition at line 117 of file SqlNumber.cs.
|
get |
Definition at line 113 of file SqlNumber.cs.
|
get |
Definition at line 165 of file SqlNumber.cs.
|
getprivate |
Definition at line 129 of file SqlNumber.cs.
|
get |
Definition at line 125 of file SqlNumber.cs.
|
get |
Definition at line 121 of file SqlNumber.cs.
|
get |
Definition at line 133 of file SqlNumber.cs.
|
getprivate set |
Definition at line 111 of file SqlNumber.cs.