Class JavaObject
Represents a Java object wrapper.
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.
Inheritance
System.Object
JavaObject
Namespace: Apache.Ignite.Core.Interop
Assembly: Apache.Ignite.Core.dll
Syntax
public class JavaObject : object
Constructors
JavaObject(String)
Initializes a new instance of the JavaObject class.
Declaration
public JavaObject(string className)
Parameters
Type | Name | Description |
---|---|---|
System.String | className | Name of the Java class. |
JavaObject(String, IDictionary<String, Object>)
Initializes a new instance of the JavaObject class.
Declaration
public JavaObject(string className, IDictionary<string, object> properties)
Parameters
Type | Name | Description |
---|---|---|
System.String | className | Name of the Java class. |
IDictionary<System.String, System.Object> | properties | The properties to set on the Java object. |
Properties
ClassName
Gets the Java class name.
Declaration
public string ClassName { get; }
Property Value
Type | Description |
---|---|
System.String |
Properties
Gets the properties to be set on the Java object.
Declaration
public IDictionary<string, object> Properties { get; }
Property Value
Type | Description |
---|---|
IDictionary<System.String, System.Object> |