Defines binary objects functionality. With binary objects you are able to:
-
Seamlessly interoperate between Java, .NET, and C++.
-
Make any object binary with zero code change to your existing code.
-
Nest binary objects within each other.
-
Automatically handle
circular
or null
references.
-
Automatically convert collections and maps between Java, .NET, and C++.
-
Optionally avoid deserialization of objects on the server side.
-
Avoid need to have concrete class definitions on the server side.
-
Dynamically change structure of the classes without having to restart the cluster.
-
Index into binary objects for querying purposes.
More...
IBinaryObject Apache.Ignite.Core.Binary.IBinary.BuildEnum |
( |
string |
typeName, |
|
|
int |
value |
|
) |
| |
- Parameters
-
typeName | Enum type name. |
value | Enum int value. |
- Returns
- Binary representation of the specified enum value.
IBinaryObject Apache.Ignite.Core.Binary.IBinary.BuildEnum |
( |
Type |
type, |
|
|
int |
value |
|
) |
| |
- Parameters
-
type | Enum type. |
value | Enum int value. |
- Returns
- Binary representation of the specified enum value.
IBinaryType Apache.Ignite.Core.Binary.IBinary.GetBinaryType |
( |
int |
typeId | ) |
|
IBinaryType Apache.Ignite.Core.Binary.IBinary.GetBinaryType |
( |
string |
typeName | ) |
|
IBinaryType Apache.Ignite.Core.Binary.IBinary.GetBinaryType |
( |
Type |
type | ) |
|
ICollection<IBinaryType> Apache.Ignite.Core.Binary.IBinary.GetBinaryTypes |
( |
| ) |
|
- Parameters
-
- Returns
- Builder.
- Parameters
-
- Returns
- Builder.
- Parameters
-
- Returns
- Builder.
int Apache.Ignite.Core.Binary.IBinary.GetTypeId |
( |
string |
typeName | ) |
|
- Parameters
-
- Returns
- Type id.
T Apache.Ignite.Core.Binary.IBinary.ToBinary< T > |
( |
object |
obj | ) |
|
Note that object's type needs to be configured in BinaryConfiguration.
- Parameters
-
- Returns
- Converted object.