Public Member Functions | List of all members
GridGain.Portable.IPortableReader Interface Reference

Reader for portable objects. More...

Public Member Functions

byte ReadByte (string fieldName)
 Read named byte value. More...
 
byte[] ReadByteArray (string fieldName)
 Read named byte array. More...
 
char ReadChar (string fieldName)
 Read named char value. More...
 
char[] ReadCharArray (string fieldName)
 Read named char array. More...
 
short ReadShort (string fieldName)
 Read named short value. More...
 
short[] ReadShortArray (string fieldName)
 Read named short array. More...
 
int ReadInt (string fieldName)
 Read named int value. More...
 
int[] ReadIntArray (string fieldName)
 Read named int array. More...
 
long ReadLong (string fieldName)
 Read named long value. More...
 
long[] ReadLongArray (string fieldName)
 Read named long array. More...
 
bool ReadBoolean (string fieldName)
 Read named boolean value. More...
 
bool[] ReadBooleanArray (string fieldName)
 Read named boolean array. More...
 
float ReadFloat (string fieldName)
 Read named float value. More...
 
float[] ReadFloatArray (string fieldName)
 Read named float array. More...
 
double ReadDouble (string fieldName)
 Read named double value. More...
 
double[] ReadDoubleArray (string fieldName)
 Read named double array. More...
 
decimal ReadDecimal (string fieldName)
 Read named decimal value. More...
 
decimal[] ReadDecimalArray (string fieldName)
 Read named decimal array. More...
 
DateTime ReadDate (string fieldName)
 Read named date value in UTC form. Shortcut for ReadDate(fieldName, false). More...
 
DateTime ReadDate (string fieldName, bool local)
 Read named date value. More...
 
DateTime[] ReadDateArray (string fieldName)
 Read named date array in UTC form. Shortcut for ReadDateArray(fieldName, false). More...
 
DateTime[] ReadDateArray (string fieldName, bool local)
 Read named date array. More...
 
string ReadString (string fieldName)
 Read named string value. More...
 
string[] ReadStringArray (string fieldName)
 Read named string array. More...
 
Guid ReadGuid (string fieldName)
 Read named GUID value. More...
 
Guid[] ReadGuidArray (string fieldName)
 Read named GUID array. More...
 
T ReadEnum< T > (string fieldName)
 Read named enum value. More...
 
T[] ReadEnumArray< T > (string fieldName)
 Read named enum array. More...
 
T ReadObject< T > (string fieldName)
 Read named object. More...
 
T[] ReadObjectArray< T > (string fieldName)
 Read named object array. More...
 
ICollection ReadCollection (string fieldName)
 Read named collection. More...
 
ICollection ReadCollection (string fieldName, PortableCollectionFactory factory, PortableCollectionAdder adder)
 Read named collection. More...
 
ICollection< T > ReadGenericCollection< T > (string fieldName)
 Read named generic collection. More...
 
ICollection< T > ReadGenericCollection< T > (string fieldName, PortableGenericCollectionFactory< T > factory)
 Read named generic collection. More...
 
IDictionary ReadDictionary (string fieldName)
 Read named dictionary. More...
 
IDictionary ReadDictionary (string fieldName, PortableDictionaryFactory factory)
 Read named dictionary. More...
 
IDictionary< K, V > ReadGenericDictionary< K, V > (string fieldName)
 Read named generic dictionary. More...
 
IDictionary< K, V > ReadGenericDictionary< K, V > (string fieldName, PortableGenericDictionaryFactory< K, V > factory)
 Read named generic dictionary. More...
 
IPortableRawReader RawReader ()
 Get raw reader. More...
 

Detailed Description

Member Function Documentation

IPortableRawReader GridGain.Portable.IPortableReader.RawReader ( )
Returns
Raw reader.
bool GridGain.Portable.IPortableReader.ReadBoolean ( string  fieldName)
Parameters
fieldNameField name.
Returns
Boolean value.
bool [] GridGain.Portable.IPortableReader.ReadBooleanArray ( string  fieldName)
Parameters
fieldNameField name.
Returns
Boolean array.
byte GridGain.Portable.IPortableReader.ReadByte ( string  fieldName)
Parameters
fieldNameField name.
Returns
Byte value.
byte [] GridGain.Portable.IPortableReader.ReadByteArray ( string  fieldName)
Returns
Byte array.
char GridGain.Portable.IPortableReader.ReadChar ( string  fieldName)
Parameters
fieldNameField name.
Returns
Char value.
char [] GridGain.Portable.IPortableReader.ReadCharArray ( string  fieldName)
Returns
Char array.
ICollection GridGain.Portable.IPortableReader.ReadCollection ( string  fieldName)
Parameters
fieldNameField name.
Returns
Collection.
ICollection GridGain.Portable.IPortableReader.ReadCollection ( string  fieldName,
PortableCollectionFactory  factory,
PortableCollectionAdder  adder 
)
Parameters
fieldNameField name.
factoryFactory.
adderAdder.
Returns
Collection.
DateTime GridGain.Portable.IPortableReader.ReadDate ( string  fieldName)
Parameters
fieldNameField name.
Returns
Date value.
DateTime GridGain.Portable.IPortableReader.ReadDate ( string  fieldName,
bool  local 
)
Parameters
fieldNameField name.
localWhether to read date in local (true) or UTC (false) form.
Returns
Date vaule.
DateTime [] GridGain.Portable.IPortableReader.ReadDateArray ( string  fieldName)
Parameters
fieldNameField name.
Returns
Date array.
DateTime [] GridGain.Portable.IPortableReader.ReadDateArray ( string  fieldName,
bool  local 
)
Parameters
fieldNameField name.
localWhether to read date in local (true) or UTC (false) form.
Returns
Date array.
decimal GridGain.Portable.IPortableReader.ReadDecimal ( string  fieldName)
Parameters
fieldNameField name.
Returns
Decimal value.
decimal [] GridGain.Portable.IPortableReader.ReadDecimalArray ( string  fieldName)
Parameters
fieldNameField name.
Returns
Decimal array.
IDictionary GridGain.Portable.IPortableReader.ReadDictionary ( string  fieldName)
Parameters
fieldNameField name.
Returns
Dictionary.
IDictionary GridGain.Portable.IPortableReader.ReadDictionary ( string  fieldName,
PortableDictionaryFactory  factory 
)
Parameters
fieldNameField name.
factoryFactory.
Returns
Dictionary.
double GridGain.Portable.IPortableReader.ReadDouble ( string  fieldName)
Parameters
fieldNameField name.
Returns
Double value.
double [] GridGain.Portable.IPortableReader.ReadDoubleArray ( string  fieldName)
Parameters
fieldNameField name.
Returns
Double array.
T GridGain.Portable.IPortableReader.ReadEnum< T > ( string  fieldName)
Parameters
fieldNameField name.
Returns
Enum value.
T [] GridGain.Portable.IPortableReader.ReadEnumArray< T > ( string  fieldName)
Parameters
fieldNameField name.
Returns
Enum array.
float GridGain.Portable.IPortableReader.ReadFloat ( string  fieldName)
Parameters
fieldNameField name.
Returns
Float value.
float [] GridGain.Portable.IPortableReader.ReadFloatArray ( string  fieldName)
Parameters
fieldNameField name.
Returns
Float array.
ICollection<T> GridGain.Portable.IPortableReader.ReadGenericCollection< T > ( string  fieldName)
Parameters
fieldNameField name.
Returns
Collection.
ICollection<T> GridGain.Portable.IPortableReader.ReadGenericCollection< T > ( string  fieldName,
PortableGenericCollectionFactory< T >  factory 
)
Parameters
fieldNameField name.
factoryFactory.
Returns
Collection.
IDictionary<K, V> GridGain.Portable.IPortableReader.ReadGenericDictionary< K, V > ( string  fieldName,
PortableGenericDictionaryFactory< K, V >  factory 
)
Parameters
fieldNameField name.
factoryFactory.
Returns
Dictionary.
IDictionary<K, V> GridGain.Portable.IPortableReader.ReadGenericDictionary< K, V > ( string  fieldName)
Parameters
fieldNameField name.
Returns
Dictionary.
Guid GridGain.Portable.IPortableReader.ReadGuid ( string  fieldName)
Parameters
fieldNameField name.
Returns
GUID value.
Guid [] GridGain.Portable.IPortableReader.ReadGuidArray ( string  fieldName)
Parameters
fieldNameField name.
Returns
GUID array.
int GridGain.Portable.IPortableReader.ReadInt ( string  fieldName)
Parameters
fieldNameField name.
Returns
Int value.
int [] GridGain.Portable.IPortableReader.ReadIntArray ( string  fieldName)
Parameters
fieldNameField name.
Returns
Int array.
long GridGain.Portable.IPortableReader.ReadLong ( string  fieldName)
Parameters
fieldNameField name.
Returns
Long value.
long [] GridGain.Portable.IPortableReader.ReadLongArray ( string  fieldName)
Parameters
fieldNameField name.
Returns
Long array.
T GridGain.Portable.IPortableReader.ReadObject< T > ( string  fieldName)
Parameters
fieldNameField name.
Returns
Object.
T [] GridGain.Portable.IPortableReader.ReadObjectArray< T > ( string  fieldName)
Parameters
fieldNameField name.
Returns
Object array.
short GridGain.Portable.IPortableReader.ReadShort ( string  fieldName)
Parameters
fieldNameField name.
Returns
Short value.
short [] GridGain.Portable.IPortableReader.ReadShortArray ( string  fieldName)
Returns
Short array.
string GridGain.Portable.IPortableReader.ReadString ( string  fieldName)
Parameters
fieldNameField name.
Returns
String value.
string [] GridGain.Portable.IPortableReader.ReadStringArray ( string  fieldName)
Parameters
fieldNameField name.
Returns
String array.