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 |
---|---|
System.Boolean | Boolean value. |
ReadBooleanArray()
Read boolean array.
Declaration
bool[] ReadBooleanArray()
Returns
Type | Description |
---|---|
System.Boolean[] | Boolean array. |
ReadByte()
Read byte value.
Declaration
byte ReadByte()
Returns
Type | Description |
---|---|
System.Byte | Byte value. |
ReadByteArray()
Read byte array.
Declaration
byte[] ReadByteArray()
Returns
Type | Description |
---|---|
System.Byte[] | Byte array. |
ReadChar()
Read char value.
Declaration
char ReadChar()
Returns
Type | Description |
---|---|
System.Char | Char value. |
ReadCharArray()
Read char array.
Declaration
char[] ReadCharArray()
Returns
Type | Description |
---|---|
System.Char[] | Char array. |
ReadCollection()
Read collection.
Declaration
ICollection ReadCollection()
Returns
Type | Description |
---|---|
ICollection | Collection. |
ReadCollection(Func<Int32, ICollection>, Action<ICollection, Object>)
Read collection.
Declaration
ICollection ReadCollection(Func<int, ICollection> factory, Action<ICollection, object> adder)
Parameters
Type | Name | Description |
---|---|---|
Func<System.Int32, ICollection> | factory | Factory. |
Action<ICollection, System.Object> | adder | Adder. |
Returns
Type | Description |
---|---|
ICollection | Collection. |
ReadDecimal()
Read decimal value.
Declaration
decimal? ReadDecimal()
Returns
Type | Description |
---|---|
System.Nullable<System.Decimal> | Decimal value. |
ReadDecimalArray()
Read decimal array.
Declaration
decimal? [] ReadDecimalArray()
Returns
Type | Description |
---|---|
System.Nullable<System.Decimal>[] | Decimal array. |
ReadDictionary()
Read dictionary.
Declaration
IDictionary ReadDictionary()
Returns
Type | Description |
---|---|
IDictionary | Dictionary. |
ReadDictionary(Func<Int32, IDictionary>)
Read dictionary.
Declaration
IDictionary ReadDictionary(Func<int, IDictionary> factory)
Parameters
Type | Name | Description |
---|---|---|
Func<System.Int32, IDictionary> | factory | Factory. |
Returns
Type | Description |
---|---|
IDictionary | Dictionary. |
ReadDouble()
Read double value.
Declaration
double ReadDouble()
Returns
Type | Description |
---|---|
System.Double | Double value. |
ReadDoubleArray()
Read double array.
Declaration
double[] ReadDoubleArray()
Returns
Type | Description |
---|---|
System.Double[] | Double array. |
ReadEnum<T>()
Read enum value.
Declaration
T ReadEnum<T>()
Returns
Type | Description |
---|---|
T | Enum value. |
Type Parameters
Name | Description |
---|---|
T |
ReadEnumArray<T>()
Read enum array.
Declaration
T[] ReadEnumArray<T>()
Returns
Type | Description |
---|---|
T[] | Enum array. |
Type Parameters
Name | Description |
---|---|
T |
ReadFloat()
Read float value.
Declaration
float ReadFloat()
Returns
Type | Description |
---|---|
System.Single | Float value. |
ReadFloatArray()
Read float array.
Declaration
float[] ReadFloatArray()
Returns
Type | Description |
---|---|
System.Single[] | Float array. |
ReadGuid()
Read GUID value.
Declaration
Guid? ReadGuid()
Returns
Type | Description |
---|---|
System.Nullable<Guid> | GUID value. |
ReadGuidArray()
Read GUID array.
Declaration
Guid? [] ReadGuidArray()
Returns
Type | Description |
---|---|
System.Nullable<Guid>[] | GUID array. |
ReadInt()
Read int value.
Declaration
int ReadInt()
Returns
Type | Description |
---|---|
System.Int32 | Int value. |
ReadIntArray()
Read int array.
Declaration
int[] ReadIntArray()
Returns
Type | Description |
---|---|
System.Int32[] | Int array. |
ReadLong()
Read long value.
Declaration
long ReadLong()
Returns
Type | Description |
---|---|
System.Int64 | Long value. |
ReadLongArray()
Read long array.
Declaration
long[] ReadLongArray()
Returns
Type | Description |
---|---|
System.Int64[] | 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 |
---|---|
System.Int16 | Short value. |
ReadShortArray()
Read short array.
Declaration
short[] ReadShortArray()
Returns
Type | Description |
---|---|
System.Int16[] | Short array. |
ReadString()
Read string value.
Declaration
string ReadString()
Returns
Type | Description |
---|---|
System.String | String value. |
ReadStringArray()
Read string array.
Declaration
string[] ReadStringArray()
Returns
Type | Description |
---|---|
System.String[] | String array. |
ReadTimestamp()
Read date value in UTC form. Shortcut for ReadTimestamp(false)
.
Declaration
DateTime? ReadTimestamp()
Returns
Type | Description |
---|---|
System.Nullable<DateTime> | Date value. |
ReadTimestampArray()
Read date array in UTC form. Shortcut for ReadTimestampArray(false)
.
Declaration
DateTime? [] ReadTimestampArray()
Returns
Type | Description |
---|---|
System.Nullable<DateTime>[] | Date array. |