提交 116337fc 编写于 作者: M Márton Balassi 提交者: Stephan Ewen

[streaming] [scala] Revert removing getJavaStream() from DataStream

上级 69f7f6d9
......@@ -44,7 +44,7 @@ class DataStream[T](stream: JavaStream[T]) {
/**
* Gets the underlying java DataStream object.
*/
private[flink] def javaStream: JavaStream[T] = stream
def javaStream: JavaStream[T] = stream
/**
* Returns the [[StreamExecutionEnvironment]] associated with the current [[DataStream]].
......@@ -130,7 +130,7 @@ class DataStream[T](stream: JavaStream[T]) {
case _ => throw new UnsupportedOperationException("Only supported for operators.")
this
}
/**
* Turns off chaining for this operator so thread co-location will not be
* used as an optimization. </p> Chaining can be turned off for the whole
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册