Interface IBinaryRawReader
Raw reader for binary objects.
Namespace: Apache.Ignite.Core.Binary
Assembly: Apache.Ignite.Core.dll
Syntax
public interface IBinaryRawReader
Methods
ReadArray<T>()
Read object array.
Declaration
T[] ReadArray<T>()
Returns
| Type | Description |
|---|---|
| T[] | Object array. |
Type Parameters
| Name | Description |
|---|---|
| T |
ReadBoolean()
Read boolean value.
Declaration
bool ReadBoolean()
Returns
| Type | Description |
|---|---|
| bool | Boolean value. |
ReadBooleanArray()
Read boolean array.
Declaration
bool[] ReadBooleanArray()
Returns
| Type | Description |
|---|---|
| bool[] | Boolean array. |
ReadByte()
Read byte value.
Declaration
byte ReadByte()
Returns
| Type | Description |
|---|---|
| byte | Byte value. |
ReadByteArray()
Read byte array.
Declaration
byte[] ReadByteArray()
Returns
| Type | Description |
|---|---|
| byte[] | Byte array. |
ReadChar()
Read char value.
Declaration
char ReadChar()
Returns
| Type | Description |
|---|---|
| char | Char value. |
ReadCharArray()
Read char array.
Declaration
char[] ReadCharArray()
Returns
| Type | Description |
|---|---|
| char[] | Char array. |
ReadCollection()
Read collection.
Declaration
ICollection ReadCollection()
Returns
| Type | Description |
|---|---|
| ICollection | Collection. |
ReadCollection(Func<int, ICollection>, Action<ICollection, object>)
Read collection.
Declaration
ICollection ReadCollection(Func<int, ICollection> factory, Action<ICollection, object> adder)
Parameters
| Type | Name | Description |
|---|---|---|
| Func<int, ICollection> | factory | Factory. |
| Action<ICollection, object> | adder | Adder. |
Returns
| Type | Description |
|---|---|
| ICollection | Collection. |
ReadDecimal()
Read decimal value.
Declaration
decimal? ReadDecimal()
Returns
| Type | Description |
|---|---|
| decimal? | Decimal value. |
ReadDecimalArray()
Read decimal array.
Declaration
decimal?[] ReadDecimalArray()
Returns
| Type | Description |
|---|---|
| decimal?[] | Decimal array. |
ReadDictionary()
Read dictionary.
Declaration
IDictionary ReadDictionary()
Returns
| Type | Description |
|---|---|
| IDictionary | Dictionary. |
ReadDictionary(Func<int, IDictionary>)
Read dictionary.
Declaration
IDictionary ReadDictionary(Func<int, IDictionary> factory)
Parameters
| Type | Name | Description |
|---|---|---|
| Func<int, IDictionary> | factory | Factory. |
Returns
| Type | Description |
|---|---|
| IDictionary | Dictionary. |
ReadDouble()
Read double value.
Declaration
double ReadDouble()
Returns
| Type | Description |
|---|---|
| double | Double value. |
ReadDoubleArray()
Read double array.
Declaration
double[] ReadDoubleArray()
Returns
| Type | Description |
|---|---|
| double[] | Double array. |
ReadEnumArray<T>()
Read enum array.
Declaration
T[] ReadEnumArray<T>()
Returns
| Type | Description |
|---|---|
| T[] | Enum array. |
Type Parameters
| Name | Description |
|---|---|
| T |
ReadEnum<T>()
Read enum value.
Declaration
T ReadEnum<T>()
Returns
| Type | Description |
|---|---|
| T | Enum value. |
Type Parameters
| Name | Description |
|---|---|
| T |
ReadFloat()
Read float value.
Declaration
float ReadFloat()
Returns
| Type | Description |
|---|---|
| float | Float value. |
ReadFloatArray()
Read float array.
Declaration
float[] ReadFloatArray()
Returns
| Type | Description |
|---|---|
| float[] | Float array. |
ReadGuid()
Read GUID value.
Declaration
Guid? ReadGuid()
Returns
| Type | Description |
|---|---|
| Guid? | GUID value. |
ReadGuidArray()
Read GUID array.
Declaration
Guid?[] ReadGuidArray()
Returns
| Type | Description |
|---|---|
| Guid?[] | GUID array. |
ReadInt()
Read int value.
Declaration
int ReadInt()
Returns
| Type | Description |
|---|---|
| int | Int value. |
ReadIntArray()
Read int array.
Declaration
int[] ReadIntArray()
Returns
| Type | Description |
|---|---|
| int[] | Int array. |
ReadLong()
Read long value.
Declaration
long ReadLong()
Returns
| Type | Description |
|---|---|
| long | Long value. |
ReadLongArray()
Read long array.
Declaration
long[] ReadLongArray()
Returns
| Type | Description |
|---|---|
| long[] | Long array. |
ReadObject<T>()
Read object.
Declaration
T ReadObject<T>()
Returns
| Type | Description |
|---|---|
| T | Object. |
Type Parameters
| Name | Description |
|---|---|
| T |
ReadShort()
Read short value.
Declaration
short ReadShort()
Returns
| Type | Description |
|---|---|
| short | Short value. |
ReadShortArray()
Read short array.
Declaration
short[] ReadShortArray()
Returns
| Type | Description |
|---|---|
| short[] | Short array. |
ReadString()
Read string value.
Declaration
string ReadString()
Returns
| Type | Description |
|---|---|
| string | String value. |
ReadStringArray()
Read string array.
Declaration
string[] ReadStringArray()
Returns
| Type | Description |
|---|---|
| string[] | String array. |
ReadTimestamp()
Read date value in UTC form. Shortcut for ReadTimestamp(false).
Declaration
DateTime? ReadTimestamp()
Returns
| Type | Description |
|---|---|
| DateTime? | Date value. |
ReadTimestampArray()
Read date array in UTC form. Shortcut for ReadTimestampArray(false).
Declaration
DateTime?[] ReadTimestampArray()
Returns
| Type | Description |
|---|---|
| DateTime?[] | Date array. |