public class GraalJsEngine extends Jsr223Engine
ProxyObjects, allowing for
simplified property references.https://www.graalvm.org/sdk/javadoc/org/graalvm/polyglot/proxy/ProxyObject.htmlengine| Constructor and Description |
|---|
GraalJsEngine() |
| Modifier and Type | Method and Description |
|---|---|
private org.graalvm.polyglot.proxy.ProxyObject |
asProxyObject(org.apache.kafka.connect.data.Struct struct)
Exposes the given struct as a
ProxyObject, allowing for simplified
property references, also providing any write access. |
protected void |
configureEngine() |
protected Bindings |
getBindings(org.apache.kafka.connect.connector.ConnectRecord<?> record) |
configure, evalprotected void configureEngine()
configureEngine in class Jsr223Engineprotected Bindings getBindings(org.apache.kafka.connect.connector.ConnectRecord<?> record)
getBindings in class Jsr223Engineprivate org.graalvm.polyglot.proxy.ProxyObject asProxyObject(org.apache.kafka.connect.data.Struct struct)
ProxyObject, allowing for simplified
property references, also providing any write access.Copyright © 2020 JBoss by Red Hat. All rights reserved.