![]() |
DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
The most simple implementation of a SQL string with a small size More...
Classes | |
| class | StringEnumerator |
Public Member Functions | |
| SqlString (char[] chars) | |
| Initializes a new instance of the SqlString structure with the given set of characters. More... | |
| SqlString (char[] chars, int length) | |
| Initializes a new instance of the SqlString structure. More... | |
| SqlString (string source) | |
| SqlString (byte[] bytes, int offset, int length) | |
| SqlString (byte[] bytes) | |
| 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... | |
| int | CompareTo (ISqlString other) |
| IEnumerator< char > | GetEnumerator () |
| IEnumerator IEnumerable. | GetEnumerator () |
| void ISerializable. | GetData (SerializeData data) |
| string | ToString (Encoding encoding) |
| TextReader | GetInput (Encoding encoding) |
| bool | Equals (SqlString other) |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
| byte[] | ToByteArray (Encoding encoding) |
| SqlString | Concat (ISqlString other) |
| int | GetByteCount (Encoding encoding) |
| override string | ToString () |
| 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) |
| SqlBoolean | ToBoolean () |
| SqlNumber | ToNumber () |
| SqlDateTime | ToDateTime () |
| SqlBinary | ToBinary () |
| char[] | ToCharArray () |
Public Attributes | |
| const int | MaxLength = Int16.MaxValue |
| The maximum length of characters a SqlString can handle. More... | |
Static Public Attributes | |
| static readonly SqlString | Null = new SqlString(null, 0, true) |
The null instance of a string. More... | |
Properties | |
| bool | IsNull [get, private set] |
| Encoding ISqlString. | Encoding [get] |
| string | Value [get] |
| char | this[long index] [get] |
| long | Length [get, private set] |
Properties inherited from Deveel.Data.Sql.Objects.ISqlString | |
| Encoding | Encoding [get] |
| long | Length [get] |
| char | this[long offset] [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 | |
| SqlString (char[] chars, int length, bool isNull) | |
| SqlString (ObjectData data) | |
Static Private Member Functions | |
| static char[] | GetChars (byte[] bytes, int offset, int length) |
Private Attributes | |
| readonly byte[] | source |
The most simple implementation of a SQL string with a small size
Instances of this object handle strings that are not backed by large objects and can handle a fixed length of characters.
The encoding of the string is dependent from the StringType that defines an object, but the default is UnicodeEncoding.
Definition at line 42 of file SqlString.cs.
|
inlineprivate |
Definition at line 55 of file SqlString.cs.
|
inline |
Initializes a new instance of the SqlString structure with the given set of characters.
| chars | The chars. |
Definition at line 74 of file SqlString.cs.
|
inline |
Initializes a new instance of the SqlString structure.
| chars | The chars. |
| length | The length. |
| System.ArgumentOutOfRangeException | length |
Definition at line 84 of file SqlString.cs.
|
inline |
Definition at line 88 of file SqlString.cs.
|
inline |
Definition at line 92 of file SqlString.cs.
|
inline |
Definition at line 96 of file SqlString.cs.
|
inlineprivate |
Definition at line 100 of file SqlString.cs.
|
inline |
Definition at line 112 of file SqlString.cs.
|
inline |
Definition at line 116 of file SqlString.cs.
|
inline |
Definition at line 149 of file SqlString.cs.
|
inline |
Definition at line 262 of file SqlString.cs.
|
inline |
Definition at line 209 of file SqlString.cs.
|
inline |
Definition at line 229 of file SqlString.cs.
|
inline |
Definition at line 315 of file SqlString.cs.
|
inlinestaticprivate |
Definition at line 105 of file SqlString.cs.
|
inline |
Implements Deveel.Data.Serialization.ISerializable.
Definition at line 178 of file SqlString.cs.
|
inline |
Definition at line 168 of file SqlString.cs.
|
inline |
Definition at line 172 of file SqlString.cs.
|
inline |
Definition at line 236 of file SqlString.cs.
|
inline |
|
inline |
Definition at line 366 of file SqlString.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 145 of file SqlString.cs.
|
inline |
Definition at line 497 of file SqlString.cs.
|
inline |
Definition at line 370 of file SqlString.cs.
|
inline |
Definition at line 473 of file SqlString.cs.
|
inline |
Definition at line 382 of file SqlString.cs.
|
inline |
Definition at line 252 of file SqlString.cs.
|
inline |
Definition at line 374 of file SqlString.cs.
|
inline |
Definition at line 502 of file SqlString.cs.
|
inline |
Definition at line 422 of file SqlString.cs.
|
inline |
Definition at line 489 of file SqlString.cs.
|
inline |
Definition at line 418 of file SqlString.cs.
|
inline |
Definition at line 414 of file SqlString.cs.
|
inline |
Definition at line 386 of file SqlString.cs.
|
inline |
Definition at line 394 of file SqlString.cs.
|
inline |
Definition at line 402 of file SqlString.cs.
|
inline |
Definition at line 481 of file SqlString.cs.
|
inline |
Definition at line 378 of file SqlString.cs.
|
inline |
Definition at line 410 of file SqlString.cs.
|
inline |
Definition at line 182 of file SqlString.cs.
|
inline |
Definition at line 362 of file SqlString.cs.
|
inline |
Definition at line 426 of file SqlString.cs.
|
inline |
Definition at line 430 of file SqlString.cs.
|
inline |
Definition at line 390 of file SqlString.cs.
|
inline |
Definition at line 398 of file SqlString.cs.
|
inline |
Definition at line 406 of file SqlString.cs.
| const int Deveel.Data.Sql.Objects.SqlString.MaxLength = Int16.MaxValue |
The maximum length of characters a SqlString can handle.
Definition at line 46 of file SqlString.cs.
The null instance of a string.
Definition at line 51 of file SqlString.cs.
|
private |
Definition at line 53 of file SqlString.cs.
|
get |
Definition at line 122 of file SqlString.cs.
|
getprivate set |
Definition at line 120 of file SqlString.cs.
|
getprivate set |
Definition at line 176 of file SqlString.cs.
|
get |
Definition at line 130 of file SqlString.cs.
|
get |
Definition at line 126 of file SqlString.cs.
1.8.10