提交 54aa41b3 编写于 作者: T Till Rohrmann

Added getExecutionEnvironment to the DataSet of the Scala API.

上级 da606304
......@@ -88,6 +88,13 @@ class DataSet[T: ClassTag](set: JavaDataSet[T]) {
*/
def getType: TypeInformation[T] = set.getType
/**
* Returns the execution environment associated with the current DataSet.
* @return associated execution environment
*/
def getExecutionEnvironment: ExecutionEnvironment = new ExecutionEnvironment(set
.getExecutionEnvironment)
/**
* Returns the underlying Java DataSet.
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册