Apache Ignite.NET
Apache.Ignite.Core.Interop.JavaObject Class Reference

Represents a Java object wrapper. More...

Public Member Functions

 JavaObject (string className)
 Initializes a new instance of the JavaObject class. More...
 
 JavaObject (string className, IDictionary< string, object > properties)
 Initializes a new instance of the JavaObject class. More...
 

Properties

string ClassName [get]
 Gets the Java class name. More...
 
IDictionary< string, object > Properties [get]
 Gets the properties to be set on the Java object. More...
 

Detailed Description

JavaObject can be converted to Ignite filters and predicates which can be used on non-.NET Ignite nodes.

Workflow is as follows: Instantiate specified Java class; Set property values; If the resulting object implements PlatformJavaObjectFactory, call create() method and use the result, otherwise use the original object.

Constructor & Destructor Documentation

Apache.Ignite.Core.Interop.JavaObject.JavaObject ( string  className)
Parameters
classNameName of the Java class.
Apache.Ignite.Core.Interop.JavaObject.JavaObject ( string  className,
IDictionary< string, object >  properties 
)
Parameters
classNameName of the Java class.
propertiesThe properties to set on the Java object.

Property Documentation

string Apache.Ignite.Core.Interop.JavaObject.ClassName
get
IDictionary<string, object> Apache.Ignite.Core.Interop.JavaObject.Properties
get