public class PythonGateway extends Object
Note: this class needs to be in sync with `GatewayClient` in `streaming/python/runtime/gateway_client.py`
| Constructor and Description |
|---|
PythonGateway() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
callFunction(byte[] paramsBytes) |
byte[] |
callMethod(byte[] paramsBytes) |
byte[] |
createPyFunc(byte[] pyFunc) |
byte[] |
createPyPartition(byte[] pyPartition) |
byte[] |
createPythonStreamSource(byte[] pySourceFunc) |
byte[] |
createStreamingContext() |
byte[] |
execute(byte[] jobNameBytes) |
io.ray.streaming.api.context.StreamingContext |
getStreamingContext() |
byte[] |
newInstance(byte[] classNameBytes) |
byte[] |
union(byte[] paramsBytes) |
byte[] |
withConfig(byte[] confBytes) |
public byte[] createStreamingContext()
public io.ray.streaming.api.context.StreamingContext getStreamingContext()
public byte[] withConfig(byte[] confBytes)
public byte[] createPythonStreamSource(byte[] pySourceFunc)
public byte[] execute(byte[] jobNameBytes)
public byte[] createPyFunc(byte[] pyFunc)
public byte[] createPyPartition(byte[] pyPartition)
public byte[] union(byte[] paramsBytes)
public byte[] callFunction(byte[] paramsBytes)
public byte[] callMethod(byte[] paramsBytes)
public byte[] newInstance(byte[] classNameBytes)
Copyright © 2020. All rights reserved.