Apache Ignite.NET
|
binary object builder. Provides ability to build binary objects dynamically without having class definitions. More...
Public Member Functions | |
T | GetField< T > (string fieldName) |
Get object field value. If value is another binary object, then builder for this object will be returned. If value is a container for other objects (array, ICollection, IDictionary), then container will be returned with primitive types in deserialized form and binary objects as builders. Any change in builder or collection returned through this method will be reflected in the resulting binary object after build. More... | |
IBinaryObjectBuilder | SetField< T > (string fieldName, T val) |
Set object field value. Value can be of any type including other IBinaryObject and other builders. More... | |
IBinaryObjectBuilder | RemoveField (string fieldName) |
Remove object field. More... | |
IBinaryObjectBuilder | SetHashCode (int hashCode) |
Set explicit hash code. If builder creating object from scratch, then hash code initially set to 0. If builder is created from existing binary object, then hash code of that object is used as initial value. More... | |
IBinaryObject | Build () |
Build the object. More... | |
IBinaryObjectBuilder | SetArrayField< T > (string fieldName, T[] val) |
Sets the array field. More... | |
IBinaryObjectBuilder | SetBooleanField (string fieldName, bool val) |
Sets the boolean field. More... | |
IBinaryObjectBuilder | SetBooleanArrayField (string fieldName, bool[] val) |
Sets the boolean array field. More... | |
IBinaryObjectBuilder | SetByteField (string fieldName, byte val) |
Sets the byte field. More... | |
IBinaryObjectBuilder | SetByteArrayField (string fieldName, byte[] val) |
Sets the byte array field. More... | |
IBinaryObjectBuilder | SetCharField (string fieldName, char val) |
Sets the char field. More... | |
IBinaryObjectBuilder | SetCharArrayField (string fieldName, char[] val) |
Sets the char array field. More... | |
IBinaryObjectBuilder | SetCollectionField (string fieldName, ICollection val) |
Sets the collection field. More... | |
IBinaryObjectBuilder | SetDecimalField (string fieldName, decimal?val) |
Sets the decimal field. More... | |
IBinaryObjectBuilder | SetDecimalArrayField (string fieldName, decimal?[] val) |
Sets the decimal array field. More... | |
IBinaryObjectBuilder | SetDictionaryField (string fieldName, IDictionary val) |
Sets the dictionary field. More... | |
IBinaryObjectBuilder | SetDoubleField (string fieldName, double val) |
Sets the double field. More... | |
IBinaryObjectBuilder | SetDoubleArrayField (string fieldName, double[] val) |
Sets the double array field. More... | |
IBinaryObjectBuilder | SetEnumField< T > (string fieldName, T val) |
Sets the enum field. More... | |
IBinaryObjectBuilder | SetEnumArrayField< T > (string fieldName, T[] val) |
Sets the enum array field. More... | |
IBinaryObjectBuilder | SetFloatField (string fieldName, float val) |
Sets the float field. More... | |
IBinaryObjectBuilder | SetFloatArrayField (string fieldName, float[] val) |
Sets the float array field. More... | |
IBinaryObjectBuilder | SetGuidField (string fieldName, Guid?val) |
Sets the guid field. More... | |
IBinaryObjectBuilder | SetGuidArrayField (string fieldName, Guid?[] val) |
Sets the guid array field. More... | |
IBinaryObjectBuilder | SetIntField (string fieldName, int val) |
Sets the int field. More... | |
IBinaryObjectBuilder | SetIntArrayField (string fieldName, int[] val) |
Sets the int array field. More... | |
IBinaryObjectBuilder | SetLongField (string fieldName, long val) |
Sets the long field. More... | |
IBinaryObjectBuilder | SetLongArrayField (string fieldName, long[] val) |
Sets the long array field. More... | |
IBinaryObjectBuilder | SetShortField (string fieldName, short val) |
Sets the short field. More... | |
IBinaryObjectBuilder | SetShortArrayField (string fieldName, short[] val) |
Sets the short array field. More... | |
IBinaryObjectBuilder | SetStringField (string fieldName, string val) |
Sets the string field. More... | |
IBinaryObjectBuilder | SetStringArrayField (string fieldName, string[] val) |
Sets the string array field. More... | |
IBinaryObjectBuilder | SetTimestampField (string fieldName, DateTime?val) |
Sets the timestamp field. More... | |
IBinaryObjectBuilder | SetTimestampArrayField (string fieldName, DateTime?[] val) |
Sets the timestamp array field. More... | |
Note that type ID is required in order to build binary object. Usually it is enough to provide a simple type name and Ignite will generate the type ID automatically.
IBinaryObject Apache.Ignite.Core.Binary.IBinaryObjectBuilder.Build | ( | ) |
T Apache.Ignite.Core.Binary.IBinaryObjectBuilder.GetField< T > | ( | string | fieldName | ) |
fieldName | Field name. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.RemoveField | ( | string | fieldName | ) |
fieldName | Field name. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetArrayField< T > | ( | string | fieldName, |
T[] | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetBooleanArrayField | ( | string | fieldName, |
bool[] | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetBooleanField | ( | string | fieldName, |
bool | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetByteArrayField | ( | string | fieldName, |
byte[] | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetByteField | ( | string | fieldName, |
byte | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetCharArrayField | ( | string | fieldName, |
char[] | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetCharField | ( | string | fieldName, |
char | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetCollectionField | ( | string | fieldName, |
ICollection | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetDecimalArrayField | ( | string | fieldName, |
decimal?[] | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetDecimalField | ( | string | fieldName, |
decimal? | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetDictionaryField | ( | string | fieldName, |
IDictionary | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetDoubleArrayField | ( | string | fieldName, |
double[] | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetDoubleField | ( | string | fieldName, |
double | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetEnumArrayField< T > | ( | string | fieldName, |
T[] | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetEnumField< T > | ( | string | fieldName, |
T | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetField< T > | ( | string | fieldName, |
T | val | ||
) |
fieldName | Field name. |
val | Field value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetFloatArrayField | ( | string | fieldName, |
float[] | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetFloatField | ( | string | fieldName, |
float | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetGuidArrayField | ( | string | fieldName, |
Guid?[] | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetGuidField | ( | string | fieldName, |
Guid? | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetHashCode | ( | int | hashCode | ) |
hashCode | Hash code. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetIntArrayField | ( | string | fieldName, |
int[] | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetIntField | ( | string | fieldName, |
int | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetLongArrayField | ( | string | fieldName, |
long[] | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetLongField | ( | string | fieldName, |
long | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetShortArrayField | ( | string | fieldName, |
short[] | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetShortField | ( | string | fieldName, |
short | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetStringArrayField | ( | string | fieldName, |
string[] | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetStringField | ( | string | fieldName, |
string | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetTimestampArrayField | ( | string | fieldName, |
DateTime?[] | val | ||
) |
fieldName | Name of the field. |
val | The value. |
IBinaryObjectBuilder Apache.Ignite.Core.Binary.IBinaryObjectBuilder.SetTimestampField | ( | string | fieldName, |
DateTime? | val | ||
) |
fieldName | Name of the field. |
val | The value. |