Apache Ignite.NET
Apache.Ignite.Core.Binary.IBinaryObject Interface Reference

Wrapper for serialized objects. More...

Public Member Functions

IBinaryType GetBinaryType ()
 Gets object metadata. More...
 
TF GetField< TF > (string fieldName)
 Gets field value. More...
 
bool HasField (string fieldName)
 Determines whether the field with specified name exists in this instance. More...
 
Deserialize< T > ()
 Gets fully deserialized instance of binary object. More...
 
IBinaryObjectBuilder ToBuilder ()
 Creates a new IBinaryObjectBuilder based on this object. More...
 

Properties

int EnumValue [get]
 Gets the value of underlying enum in int form. More...
 
string EnumName [get]
 Gets the name of the underlying enum value. More...
 

Detailed Description

Member Function Documentation

T Apache.Ignite.Core.Binary.IBinaryObject.Deserialize< T > ( )
Returns
Fully deserialized instance of binary object.
IBinaryType Apache.Ignite.Core.Binary.IBinaryObject.GetBinaryType ( )
Returns
Metadata.
TF Apache.Ignite.Core.Binary.IBinaryObject.GetField< TF > ( string  fieldName)
Parameters
fieldNameField name.
Returns
Field value.
bool Apache.Ignite.Core.Binary.IBinaryObject.HasField ( string  fieldName)
Parameters
fieldNameName of the field.
Returns
True if there is a field with specified name; false otherwise.
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObject.ToBuilder ( )

This is equivalent to IBinary.GetBuilder(IBinaryObject).

Returns
New IBinaryObjectBuilder based on this object.

Property Documentation

string Apache.Ignite.Core.Binary.IBinaryObject.EnumName
get

The name of the enum value.

int Apache.Ignite.Core.Binary.IBinaryObject.EnumValue
get

The value of underlying enum in int form.