数据流JAVA SDK:以code作为输入,处理在备份 [英] Dataflow JAVA SDK : Take the code as an input, process at the backed

查看:169
本文介绍了数据流JAVA SDK:以code作为输入,处理在备份的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请支持我了解下面的情况下实施。

Please support me to understand the implementation of following scenario.

假设用户类型在前端的文本框中使用数据流命令SDK写的code。
我们需要得到code(假设为一个字符串),并在后台执行。
难道的数据流提供SDK像一个执行管理设施,做这样的事情?
另外一些资源来熟悉这样的实现将是非常美联社preciated。

Suppose the user types the code written using data flow SDK commands in a text box at the front end. We need to get that code (let's say as a string) and execute at the back end. Does Data flow SDK provide a facility like a execution manager, to do such a thing? Also some resources to get familiar with such an implementation would be much appreciated.

感谢

推荐答案

数据流不支持那种在你的问题中描述的用户code动态评价。为了运行使用Java SDK的数据流任务,用户code在客户端编译,打包成一个.jar文件,并分发给工人的机器。

Dataflow does not support the kind of dynamic evaluation of user code described in your question. In order to run a Dataflow job using the Java SDK, user code is compiled at the client, packaged into a .jar file, and distributed to the worker machines.

这篇关于数据流JAVA SDK:以code作为输入,处理在备份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆